📅  最后修改于: 2022-03-11 14:47:01.582000             🧑  作者: Mango
s_comma = 'one,two,three,four,five'
print(s_comma.split(','))
# ['one', 'two', 'three', 'four', 'five']
print(s_comma.split('three'))
# ['one,two,', ',four,five']