-
Text Contained Within String
I’d like to write an IF statement that can look at text in a string (MyString) to determine if a word is contained or found within the string.
Below is the simplest example I could make up on this question. I know this won’t work but I’m trying to figure out the language.
Is it possible to search for text within it?
Thanks.MyString = "This is my text"
if (MyString.contains("my") "Yes" else "Nope"