Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

string.replace() python3

phrase = 'Hello world!'
print(phrase.replace('world', 'fellow kids'))
# Hello fellow kids!
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+2 =