So right now I’m using this simple method to check a string for another string:
System.Text.RegularExpressions.Regex.IsMatch(toSearch, toVerifyisPresent, System.Text.RegularExpressions.RegexOptions.IgnoreCase)
Now, its working fine for the most part. But my biggest issue is that if I try to search for something like “areyou+present”, if “areyou+present” IS there, it will still come back false. I’m thinking its because of the “+” in the string.
What can I do to work around this?
Based on the comment above by Oded.
Converting both to lowercase will provide the same functionality as using
IgnoreCase