I have a comma delimited string. Within the string, I have a character representing points where I would like to insert line breaks when I display the string in a text area. Ex.
myString = "variable,value,*variable,value,*variable,value"
I have tried this:
myNewString = Replace(myString,"*","\n")
The replace works fine but my "\n" is getting rendered. This makes sense because I have it in quotes and the browser thinks it is part of the string. However, if I don't use quotes, I get an error. How can I get around this? I have tried the replace part of it server side and client side but with the same results. When I submit this string back to the database I want to replace my "\n" with "*".