Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python edit string variable

text = 'abcdefg'
new = list(text)
new[6] = 'W'
''.join(new)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #edit #string #variable
ADD COMMENT
Topic
Name
9+9 =