Skip to main content
Question

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

  • May 11, 2020
  • 2 replies
  • 538 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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+46
  • Influencer
  • May 11, 2020

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