I need to make a script that takes some rich text (html text) and transform it to regular text. What I want to do is replace all <br>
tags with newline. I tried to do this with replace function:
set @rich_text_to_modify = replace(@rich_text_to_modify,'<br>', CHAR(13)+CHAR(10))
The
tags get removed but newlines are not inserted. Any idea what I am doing wrong?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…