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

Glib GIOChannel -

jsp - java.sql.SQLException: [Microsoft][ODBC Microsoft Access > Driver] Too few parameters. Expected 1 -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -