Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

string replace in python

text='ramkumar'
text=text.replace("mku","") #'' is empty 
print(text)

ans:
ramar
Source by www.runoob.com #
 
PREVIOUS NEXT
Tagged: #string #replace #python
ADD COMMENT
Topic
Name
9+2 =