Pavan Yadav
Member
Hi All,
I have a requirement where I need to replace "\" with "_" for all the occurrences in field or variable.
This code doesn't recognize "\" in the variable. Please advice how this can be achieved.
I have a requirement where I need to replace "\" with "_" for all the occurrences in field or variable.
Code:
def var abc as char initial "'abc\test1'".
def var xyz as char.
disp abc format "x(25)".
xyz = replace(abc,"\","_").
disp xyz.
This code doesn't recognize "\" in the variable. Please advice how this can be achieved.