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