General rule of thumb:
If you know what you don't want, use split.
If you know what you want, use regex.
In reply to Re: splitting a string on pre-defined tags
by tybalt89
in thread splitting a string on pre-defined tags
by rajaman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |