Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python merge list into string

>>> sentence = ['this','is','a','sentence']
>>> '-'.join(sentence)
'this-is-a-sentence'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #merge #list #string
ADD COMMENT
Topic
Name
7+9 =