best split tokens?

Felipe Almeida Lessa felipe.lessa at gmail.com
Fri Sep 8 16:48:11 EDT 2006


8 Sep 2006 13:41:48 -0700, Jay <jaysherby at gmail.com>:
> Let's say, for instance, that one was programming a spell checker or
> some other function where the contents of a string from a text-editor's
> text box needed to be split so that the resulting array has each word
> as an element.  Is there a shortcut to do this and, if not, what's the
> best and most efficient token group for the split function to achieve
> this?

your_string.split()

-- 
Felipe.



More information about the Python-list mailing list