Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

replace all characters in a string python

>>> mystring = 'Hello World'
>>> mystring = '*'*len(mystring)
>>> print(mystring)
***********
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #characters #string #python
ADD COMMENT
Topic
Name
5+6 =