python delete char from string array code example Example: how to delete specific char in string python a_string = a_string.replace("d", "")