Mega Code Archive

 
Categories / Python / String
 

Content tests

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