Mega Code Archive
Categories
/
Python
/
String
Split a string by
line = 'bob,hacker,40' print line.split(',')