Hi All,

Is there a way to remove LF (linefeed) and CR (carriage return) from a variable?
I tried  this...

SET V vlf = (CHAR(10))
SET V vcr = (CHAR(13))
SET V vnull = NULL

SET V vtexttofix = (SRPL(.vtexttofix,.vlf,vnull,1))
SET V vtexttofix = (SRPL(.vexttofix,.vcr,.vnull,1))

But when I try that, my vtexttofix ends up being a blank.

How do I do it?

Mike

Reply via email to