check if char is int python code example Example: isdigit python string.isdigit() how to remove a integer from a string