Mega Code Archive

 
Categories / Python / String
 

String replace Demo

print 'tea for too'.replace('too', 'two')