OK I'm stumped and I need some help
I'm using the "ANYPARM" parameter to pick up a long string in a command
file. The string may or may not have embedded quotes in it, they maybe
single quotes or double quotes. I then want to try to find a string in the
parameter. I've tried doing the following.
IF SETVAR(_DUMMY_POS,POS(';TEMP',"!P2")) <> 0 THEN
But this resolves to
IF SETVAR(_DUMMY_POS,POS(';TEMP',"UPS("SLKDJFlkjlk");TEMP")) <> 0 THEN
and then I get to following
A string operator was expected but none was found. (CIERR 9755)
This works fine if there are only single quotes in P2, but if there are
double quotes I get what's above
(because the !P2 parameter has double quotes)
I would really like to make this work if P2 has single or double quotes, can
any one help
John Krussel
Nordstrom
[log in to unmask]http://www.nordstrom.com