how to check a string for specific characters in python code example Example: How to check a string for specific characters? if '$' in myString: