how to check if string has a text code example Example: javascript check if string contains a text substring stringVariable.includes("Your Text");