G. String Methods (isdecimal, isspace, isalnum)

String isdecimal() Method

- The isdecimal() method Returns True if all characters in a string are decimals (0-9).



String isspace() Method

- The isspace() method Returns True if all characters in a string are spaces.



String isalnum() Method

- The isalnum() method Returns True if all characters in a string are alphanumeric.

Comments