Answers for "python get value after tab"

2

python split string by tab

>>> import re
>>> strs = "footbarttspam"
>>> re.split(r't+', strs)
['foo', 'bar', 'spam']
Posted by: Guest on December-12-2020

Code answers related to "python get value after tab"

Python Answers by Framework

Browse Popular Code Answers by Language