Functions: String_Contains Function - Wynntils/Wynntils GitHub Wiki

String_Contains function

Aliases

  • CONTAINS_STR

Description

Checks if given string contains another string

Arguments

This function has 2 required arguments.

  • source (String) → The string to search.
  • substring (String) → The string to check for.

Schematics

STRING_CONTAINS(<source>;<regex>) → (Boolean)

Example

STRING_CONTAINS("Gathering Scythe T4";"Scythe")  TRUE
⚠️ **GitHub.com Fallback** ⚠️