Hi Guys, I have a text field that has data in the following format<HTML><HEAD><TITLE></TITLE></HEAD><BODY><P>Some Text<P></BODY></HTML>
i want to insert carriage return(Chr(10)+Chr(13)) in between the tags and want to make it look like below<HTML> <HEAD> <TITLE> </TITLE> </HEAD> <BODY> <P>Some Text<P> </BODY> </HTML>
the spaces you see above would be the carriage returns i want to insert...i tried using PatIndex() to find the > and < and then insert carrriage return between them...but it didnt work out...any suggestions...