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

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -