String manipulation

Alexander Schmolck a.schmolck at gmail.com
Wed Apr 4 15:47:59 EDT 2007


marco.minerva at gmail.com writes:

> Thank you very much, your code works perfectly!

One thing I forgot: you might want to make the whitespace handling a bit more
robust/general e.g. by using something along the lines of

  set_phrase.replace(' ', r'\w+')

'as



More information about the Python-list mailing list