Hi,
I tried to implement:
if (myString.IndexOf(itemToLook, System.StringComparison.CurrentCultureIgnoreCase) > 0) {
Debug.Log("String found");
} else {
Debug.Log("String not found");
}
With no luck. Is there an easy way to achieve this?
For my propose i need to check all lower upper case possibilities
- for example: JEAN, JEAn, JEaN, JEan,... is contained in a string.
I achieved this only by bruteforcing all possible variations of a string to an array in order to loop through and check all seperate with string contains.(which causes memory to jump up)
Thank's for your help