Capital letters

.upper() makes all letters in a string uppercase .lower() makes all letters in a string lowercase

.capitalize() will capitalize the first letter of a string

Find

.find() find the position of the first occurrence of a given prompt in a string .rfind() find the position of the last occurrence of a given prompt in a string

No occurrence

if none can be found, python will return -1

Count

.count() counts the amount of occurrences of a given prompt

Replace

.replace() replaces a prompt with another

example: phonenumber.replace(”-”, "")

True or False

.isdigit() if its a digit it will return True if its not a digit it returns False .isalpha() if its only alphabetical characters it will return True if its not only alphabetical characters it will return False (this includes spaces)