How to Implement Our New string Functionality
There are a number of ways that I could have implemented the functionality that we will need to compare and search for character data without regard for the case of the text we are looking for or comparing. Here are several possibilities:
Writing global functions to do case insensitive searches and comparisons.
Using the standard library features that allow us to specify our own comparison and searching functions for the standard string class.
Creating a new class that includes a standard library string member variable and forwarding all of the member functions implemented in the standard library string class to that ...