1,split()函数:
Python split() 通过指定分隔符对字符串进行切片,如果参数 num 有指定值,则分隔 num+1 个子字符串
str.split(str="", num=string.count(str))
python 内置函数
原文:https://www.cnblogs.com/huagongzi/p/10557599.html