Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

separate each characters by commas into a single string

>>> ','.join('Hello world')
'H,e,l,l,o, ,w,o,r,l,d'
>>> ','.join(['Hello', 'world'])
'Hello,world'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #separate #characters #commas #single #string
ADD COMMENT
Topic
Name
1+8 =