Tokenize a string or split on steroids
Fernando Rodríguez
frr at wanadoo.es
Sat Mar 9 05:43:53 EST 2002
I need to tokenize a string using several separator characters, not just one
as split().
For example, I want a function that returns ['one', 'two'] when given the
string '{one}{two}' .
How can I do this? O:-)
TIA
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Fernando Rodríguez frr at EasyJob.NET
| http://www.EasyJob.NET/
| Expert resume and cover letter creation system.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Python-list
mailing list