ReferenceNQE LanguageStandard LibrarymatchesOn this pagematchesmatches(str: String, glob: String) : Bool Returns true if and only if str matches glob, case-sensitively. For example, matches("def", "def") and matches("abcdefefg", "*def*") both return true. See also Types String Bool