Search
 
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
Name
3+1 =