In addition to what PodMaster suggests, you may try a few snippets available here in the Monastery:
In reply to Re: Generating sequence of words
by cchampion
in thread Generating sequence of words
by Apocalypse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |