Content tests: isalpha, isdigit, etc : String Cast « String « Python






Content tests: isalpha, isdigit, etc

 

S = 'spam' 
S.isalpha(  )                # Content tests: isalpha, isdigit, etc.

   
  








Related examples in the same category

1.Convert string: to and from stringConvert string: to and from string
2.Strings translate
3.string to list
4.Convert int: to and from stringConvert int: to and from string