hi friends,
is it possible to use inspect clause to replace characters of different lengths?
ex: INSPECT WS-DESC REPLACING ALL '&' BY '&'
WS-DESC:johnson & johnson
i want it to be modified as :
WS-DESC: johnson & johnson.
Wen i try, it is showing compiler error,"REPLACING" operand "'&'" was not the same length as the "BY" operand "'&'"
is there any other way to acheive this? coz i am trying to parse in xml and it doesn allow.
XML has a special set of characters that cannot be used in normal XML strings. These characters are:
Character should be replaced with
& &
< <
> >
" "
' '