In an xlate I need to be able to evaluate (IF) whether a string contains some substring. In this case I want to find out if a TXT segment of an EDI message contains the string “Document type?”
0(0).TXT(%g2).#1(0).[0] ct =Document type?
However, when I run it through the test tool, I get an error message:
“[0:TEST] IF expression parse failed: Unrecognizable lexical token
Error occurred at: ‘?’ ”
How can I escape that question mark ?
Cheers,
Mark