I have a string \"First line | second line | third line\" How can I replace | with a new line character?
\"First line | second line | third line\"
|
new line
I\'m trying to use
here it is
str_replace('|',"\n",$string);
when \n is placed in double qouted string it changes to a new line