Tokenize

Bjorn Pettersen BPettersen at NAREX.com
Thu Jul 24 21:21:55 CEST 2003


> From: Ken Fettig [mailto:kfettig at state.nd.us] 
> 
> Does Python have an equivelent to the Java StringTokenizer? 
> If so, what is it and how do you implement it?

I have no idea what the Java StringTokenizer class does (this being a
Python group and all -- references always welcome <wink>), but perhaps
the split() method on strings gets close to what you want
(http://www.python.org/doc/current/lib/string-methods.html)?

-- bjorn





More information about the Python-list mailing list