StrReplace newline

woodpecker

Member
Licensed User
Longtime User
Hi,

I am trying to replace a comma with newline with StrReplace, I have tried:-

StrReplace(myvariable,",","\r\n")
and
StrReplace(myvariable,",","\n")

These just change to \r\n or \n. Also tried without quotes and tried chr$(13), none work, can this be done with StrReplace?

TIA
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…