Problem with Parse String
Posted: Thu Jan 12, 2006 6:55 am
I am trying to parse the command line string for certain parameters and I have come up with a couple of issues
1) The CMDLINE variable seems to miss the first character
e.g the command line "setup.exe APP=TEST" gives the CMDLINE "PP=TEST"
2)I cannot seem to get the Parse string command to work.
I am passing in the above command line string, and am trying to get the TEST value out. I wish to use the "APP=" as the pattern to search for.
I would expect the Variable for the 2nd part would contain TEST, but I have not managed this, I just end up with the First part containing the complete string "APP=TEST"
I have tried all combinations of Operation
and using the search patter of
=
'='
$=
"="
and none of them seem to behave as I would expect.
Can you please let me know what settings to use to parse this string.
It might be worth including some more information in the help file as it does not give any pattern match examples.
Cheers
1) The CMDLINE variable seems to miss the first character
e.g the command line "setup.exe APP=TEST" gives the CMDLINE "PP=TEST"

2)I cannot seem to get the Parse string command to work.
I am passing in the above command line string, and am trying to get the TEST value out. I wish to use the "APP=" as the pattern to search for.
I would expect the Variable for the 2nd part would contain TEST, but I have not managed this, I just end up with the First part containing the complete string "APP=TEST"
I have tried all combinations of Operation
and using the search patter of
=
'='
$=
"="
and none of them seem to behave as I would expect.

Can you please let me know what settings to use to parse this string.
It might be worth including some more information in the help file as it does not give any pattern match examples.
Cheers