You may want to take a look at the node: Puzzlement in Splitsville which discusses this exact issue. Lots of answers there.
In reply to Re: Elegant way to split into sequences of identical chars?
by thundergnat
in thread Elegant way to split into sequences of identical chars?
by pKai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |