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 help? > Thx > You should probably look in the docs before posting here. Python strings also have a split method, that does the same thing as in java. http://docs.python.org/lib/string-methods.html
-- http://mail.python.org/mailman/listinfo/python-list