Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

mo.group() separated with spaces instead of commas python

my_string = "blah, lots  ,  of ,  spaces, here "
result = [x.strip() for x in my_string.split(',')]
# result is ["blah", "lots", "of", "spaces", "here"]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #separated #spaces #commas #python
ADD COMMENT
Topic
Name
4+9 =