Not good news for you, right now anyway. It's best to think of string processing in Pd as non-existant at present, otherwise you would have to admit that strings in Pd are a joke.
There is the concept of a symbol, but it's very limited. I do all my text processing in
Perl or Python, much better suited to the task.
Apparently Miller is working on new features to "improve" string handling.. Lists of symbols seem the obvious structure that fits in with the current model and could
remain compatible without introducing a new type "string", but alas symbols are
the black sheep of Pd which is essentially a tool for handling numeric data, so there
are many inconsistencies and problems with symbols.
If you want to build parsers and mail clients you will at very least need regular expressions and basic tools like strlen, chop, split, head/tail, rotate, reverse, alphabetical sort etc. I find that you can use the [shell] object to pass stuff out to
grep and sed, but it's not a pretty way to work and very inefficient. There's a few
goodies like [makefilename] and [tosymbol] that will save your ass when you
absolutely have no choice but to work with strings in Pd. But...
I hate to have to say it, and you're the first person I've had to say it to, but my sincere advice is that Pd is not the environment you're looking for. Not yet anyway.
There is a language written **specifically** for text and string processing and there
is no other language that comes close to it, not by a long way despite what badly informed advocates of other tools may tell you - that is the Practical Extraction and Reporting Language, otherwise known as Perl. Writing a mail server or XML parser
are all *solved* problems and you just have to drop in a module like XML::Parse, add
a few lines of code and the job is done.
If you are a Python programmer and can't bear to make the switch to Perl have a look at Twisted. This is a general "function junction", an object oriented playground for every imaginable network transaction. With Twisted you can build applicatins in no time, and they will scale up to enterprise size, play nicely with Zope/Plone to
easily become pluggable web-content objects.