I am trying to match the beginning of strings in f#. Not sure if I have to treat them as a list of characters or what. Any suggestions would be appreciated.
Here i
You could also use a guard on the pattern:
match text with | txt when txt.StartsWith("The") -> true | txt when txt.StartsWith("If") -> true | _ -> false