DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python split string by tab
>>> import re >>> strs = "foo bar spam" >>> re.split(r' +', strs) ['foo', 'bar', 'spam']
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#split
#string
#tab
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit