Hello,
Thanks for reading this question.
We need to remove the line feeds and carriage returns from start and end, but not from the middle of a string
We have tested the following ways:
set output = $ZStrip("[line feed](carriage return) str [line feed](carriage return) ing [line feed](carriage return)","<>C")
But it removes also control characters which we need to preserve...
Also we have tested:
set output = $REPLACE("[line feed](carriage return) str [line feed](carriage return) ing [line feed](carriage return)",$C(13,10),"")
But it deletes line feed and carriage return at the middl