Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python convert a string to a list of words

>>> "Please split this string".split()
['Please', 'split', 'this', 'string']
 
PREVIOUS NEXT
Tagged: #python #convert #string #list #words
ADD COMMENT
Topic
Name
9+7 =