0

How do you replace a LF or CR?

I need to take a multi line field, and for each line, add a “\n” so I can make them into a single string.

Line 1

Line 2

would end up as Line 1\nLine2\n

I tried the replace function with a Char(10) but it looks like replace doesn’t allow that.

1 reply

null
    • Fred
    • yesterday
    • Reported - view

    try:

    let crtn := urlDecode("%0A");
    

    Then you can just use the crtn variable to add a carriage return.

Content aside

  • yesterdayLast active
  • 1Replies
  • 15Views
  • 2 Following