Replacing newline character in Genexus -


how can replace newline character in string space?

i tried this:

&myvar = &myvar.replace(newline(),' ') 

but doesn't work.

i found myself solution:

&myvar = &myvar.replace(chr(10),' ') 

Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -