Is C++ find case sensitive?

std::string provides a method std::string::find to search for the sub string inside a given string, but this function is case sensitive i.e. std::string data = “Hi this is a sample string”; size_t pos = data.

Sizin İçin Seçtik  Do case-insensitive strings compare?

Leave a Reply

Your email address will not be published. Required fields are marked *