Answers for "python convert a string to a list of words"

1

python convert a string to a list of words

>>> "Please split this string".split()
['Please', 'split', 'this', 'string']
Posted by: Guest on February-12-2021

Code answers related to "python convert a string to a list of words"

Python Answers by Framework

Browse Popular Code Answers by Language