string1 = "A, B, C, D, E, F"print "String is:", string1print "Split string by spaces:", string1.split()print "Split string by commas:", string1.split( "," )print "Split string by commas, max 2:", string1.split( ",", 2 )print