OrdinalIgnoreCase parameter specifies to the compiler to ignore the case while finding the index . The following code example shows us how we can create a case insensitive contains(string) function with the string. IndexOf() function and StringComparison. OrdinalIgnoreCase as the parameter in C#.13 Mar 2021
How do you make a string case-insensitive in C++?
Compare Two Strings Ignoring the Case in C++