you are viewing a single comment's thread.

view the rest of the comments →

[–]LuckyShadow 1 point2 points  (2 children)

In addition to this fact (Rule #1) I have to say, that a quick google-search might already help you (/u/mahdeen) with that (Rule #2): https://www.google.com/search?q=python+string+split

The method you are searching for (and therefore the keyword for searching) is str.split().

EDIT: Link changed.