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