split(' ') 0 python code example
Example 1: python split
>>> '1,2,3'.split(',')
['1', '2', '3']
>>> '1,2,3'.split(',', maxsplit=1)
['1', '2,3']
>>> '1,2,,3,'.split(',')
['1', '2', '', '3', '']
Example 2: python set split limit
s = STRING
s.split(maxsplit = 1)