My Tech Notes
Search This Blog
Python: split a comma-delimitted string
str='1,2,3' tokens=str.strip().split(',')
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment