how to determine if all characters are elements of string code example Example: How to check a string for specific characters? if '$' in myString: