Reference FQL API reference String includes() string.includes() Test if a String includes a provided substring. Signature includes(pattern: String) => Boolean Description Tests if the calling String contains a provided substring. Parameters Parameter Type Required Description pattern String true Substring to search for in this String. Return value Type Description Boolean If true, the calling String contains the provided substring. Otherwise, false. Examples Test if the calling string includes the String 200: "HTTP/1.1 200 OK".includes("200") true Test if the calling string includes the String 400: "HTTP/1.1 200 OK".includes("400") false endsWith() includesRegex()