+ Start a Discussion
nwingnwing 

How do you represent a return character in an apex text string?

 

I just want to update a long text field, but insert a return character and spaces as well.  I have not found yet the way to do that.  Any suggestions?

 

thanks,

Anand@SAASAnand@SAAS

Appending '\n' or '\r\n' should do the trick.