Extracting words from a string : *fast*

Jürgen Hermann jh at web.de
Tue Jun 19 19:24:31 CEST 2001


"Thomas Weholt" <thomas at gatsoft.no> schrieb im Newsbeitrag
news:0UEX6.268$8H6.170349568 at news.telia.no...

> I need to extract words from a string. This method will be used extensivly
> in a indexer so it needs to be as fast as possible.

Then you should use re.split()





More information about the Python-list mailing list