split
Return a list of the words in the string, using sep as the delimiter string.
1
str.split(sep=None, maxsplit=-1)
sep
The delimiter according to which to split the string.
maxsplit
Maximum number of splits to do.
Examples
1
'hello world'.split(' ')