Quantcast
Channel: THWACK: Popular Discussions - Script Lab
Viewing all articles
Browse latest Browse all 9937

Embedded Newlines in message strings

$
0
0

I have a very long message returned from a HP/UX script with embedded newlines, these newlines terminate the string so it becomes truncated, I can remove these at the script end and replace with a "marker" character but how can I put back from Solarwinds end?  I essentially need to replace the "marker" character with a newline again when it displays the string, I was thinking about using a "variable replacement" process with the variable defined as a newline but not sure if I can add variables to messages in the same way you can in a script


Viewing all articles
Browse latest Browse all 9937

Trending Articles