C++: how to check if a string is all lowercase and alphanumerics? -
is there method checks these cases? or need parse each letter in string, , check if it's islower(letter) , number/letter?
thanks!
you can use islower(), isalnum() check conditions each character. there no string-level function this, you'll have write own.
Comments
Post a Comment