05-02-2021 03:35 PM
A very minor point, you don't actually need to switch the format string field to '\' Codes Display in order for the backslash codes to work.
If you type "%s\r\n%s\r\n%s\r\n%s" in the Normal Display you get the same result (if you then switch to '\' Codes display, every "\" turns into "\\").
So either
or
will work.
05-02-2021 03:59 PM
@MIG wrote:
A very minor point, you don't actually need to switch the format string field to '\' Codes Display in order for the backslash codes to work.
If you type "%s\r\n%s\r\n%s\r\n%s" in the Normal Display you get the same result (if you then switch to '\' Codes display, every "\" turns into "\\").
So either
will work.
That's true for the "format string" input to the "Format into String" node. The Format into String node processes the string the same for literal backslash codes as well as the according backslash escaped code.
It's not generally true for any other string constants or controls.