You can use the Length statement instead of comparing to empty string. For example Length my_string, len If len, DO_ONE, DO_TWO : Using the JOBLIST function to return a listing of comma seperated job id's to : a string.. : I then use a LOOPUNTIL loop, and check for when the comma seperated list is : equal to "" : since this is a listing of numbers.. when the joblist string contains only : ONE value, 24x7 no longer considers this value as a string, but as a : number.. : giving me a type mismatch error when i compare to "" : specifically casting to a string on each iteration has no affect. thoughts on : this loop ending properly ? Why doesn't 24x7 keep the type as a string as : its specificaly (and initially) cast to ?
|