function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hemmhemm 

Adding a newline character into a string and populating via API

If I am populating a Long Text field via the API, how do I programmatically add a new line into the data?  I tried using \n and I also tried using \r\n and neither one worked.  Any ideas?
vkernelvkernel
I'm using \n and it worked