Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python split string every character

s = "foobar"
s = list(s)
print(s)

<output: ['f', 'o', 'o', 'b', 'a', 'r']>
 
PREVIOUS NEXT
Tagged: #python #split #string #character
ADD COMMENT
Topic
Name
1+9 =