A simple expedient for deriving a boolean value from index is to use 1+index(...). If the value is not found, you get 0. If it is found at the start of the string, you get 1.
In reply to Re^3: Metacharacters in regex expression
by BrowserUk
in thread Metacharacters in regex expression
by bubulik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |