Re: how to separate words from a string?

2008-05-11 Thread Benjamin Kaplan
On Sun, May 11, 2008 at 8:15 PM, David Anderson <[EMAIL PROTECTED]> wrote: > Hi, how can I separate words from a sentence in a string? Like the > java.String.split method > I need something that gets an string "This is a sentence", and return to em > a list["This","is","a","sentence"] > Can anyone

how to separate words from a string?

2008-05-11 Thread David Anderson
Hi, how can I separate words from a sentence in a string? Like the java.String.split method I need something that gets an string "This is a sentence", and return to em a list["This","is","a","sentence"] Can anyone help? Thx -- http://mail.python.org/mailman/listinfo/python-list