Skip to main content
Question

How to send new line character in multi-line text parameter.


I am trying to pass a string as parameter the string has "\\n" as new line character. When I use fmeobjects.workspaceRunner.runWithParameters to pass the string the string is cutoff at the first line. I tried to escape the backslash but I got mixed results. The entire string was passed but the string contained the actual "\\n" in it. I need the new line character like this

2 replies

Forum|alt.badge.img+2

Did you try using the carriage return, form feed, or vertical tab?


ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • May 11, 2020

Try a carriage return (\\r) instead of a line feed


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings