remove all instances from string python fast code example Example: remove occurrence in string pytthon str="it is icy" print str.replace("i", "")