How to convert an instance of std::string to lower case
Adapted from Not So Frequently Asked Questions: You’re really not going to get away without iterating through each character. There’s no way to know whether the character is lowercase or uppercase otherwise. If you really hate tolower(), here’s a specialized ASCII-only alternative that I don’t recommend you use: Be aware that tolower() can only do a per-single-byte-character substitution, which … Read more