I have a device that returns a string with some info. I am trying to see if the string contains a certain substring. It doesn’t always occur at the same place in the string, so doing it by string position won’t work.
I tried string.contains(string) but that gives me an error.
Is there some way I can do this?