Update: no code was requested, so using the spoiler tag:
If your strings only contain "a" and "b", you can use
In reply to Re: String matching idea
by choroba
in thread String matching idea
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |