split is the inverse of join, and is used to split a string into a sequence: : Split « String « Python Tutorial






print '1+2+3+4+5'.split('+') 

print '/usr/bin/env'.split('/') 

print 'Using the default'.split()








5.30.Split
5.30.1.split is the inverse of join, and is used to split a string into a sequence:
5.30.2.Splitting Strings
5.30.3.split Without Arguments
5.30.4.Split by :