Trying to understand your problem: if your $instance string would contain IDL only, then it would fit the condition MANAGEMENT. If the string contains CIDL and SOUTH it would fit the condition SOUTH. Is this correct?
How do you want to deal with the string abc VIDL abc? It does contain IDL and thus would fit the condition MANAGEMENT?
It would really be useful to post a number of examples for your $instance strings and the desired outcomes, including some strings that do NOT match anything.
In reply to Re: Create a expression to cmpare a formal against a string
by hdb
in thread Create a expression to cmpare a formal against a string
by learnP
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |