python string replace all instances of character code example Example: python replace string string.replace(old, new, count)