Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

replace() python

#our text
text='Hello there how may I help you!'
     #replacing ("THIS" with "THIS") 
replaced_text=text.replace("!", "?")
print(replaced_text)
#output
"Hello there how may I help you?"
Source by datagy.io #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
2+1 =