Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python split first space

>>> s = "238 NEO Sports"
>>> s.split(" ", 1)
['238', 'NEO Sports']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #split #space
ADD COMMENT
Topic
Name
8+4 =