Is there a function I can apply to a string that will return true of false if a string contains a character.
I have strings with one or more character options such
It will be hard to work in C# without knowing how to work with strings and booleans. But anyway:
String str = "ABC"; if (str.Contains('A')) { //... } if (str.Contains("AB")) { //... }