1.分开合并
strobj.split(‘,’) ==> [x.strip() for x in strobj.split(‘,’)]
a+’::’+b’::’ ==> ‘::’.join([..])
2.子串定位
in ==> ” in strobj
strobj.count(‘..’)
strobj.replace(”,”)
3.内置方法
strobj.[count,endswith/startwith,join,index,find,rfind,replace,strip/rstrip/lstrip,split,lower/upper,ljust/rjust]