One for all,all for one.
2013年10月29日 星期二
python split string by multiple space
str = '111111 222222 333333'
arr = str.split()
print arr
['111111', '222222', '333333']
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言