Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to split text into list python by characters

txt = "foobar"
print(list(txt)) # ["f", "o", "o", "b", "a", "r"]
 
PREVIOUS NEXT
Tagged: #split #text #list #python #characters
ADD COMMENT
Topic
Name
1+1 =