Package me.hsgamer.hscore.expression.string
package me.hsgamer.hscore.expression.string
Contains the implementation of
StringComparator
-
ClassDescriptionCheck if the 1st string contains the 2nd string
Ex: STRCT("this", "is")Check if the 1st string ends with the 2nd string
Ex: STREDW("String", "ing")Check if the 1st string is the same as the 2nd string
Ex: STREQ("str1", "str1")Check if the 1st string is the same as the 2nd string (case-insensitive)
Ex: STREQIC("Str1", "str1")Get the length of the string
Ex: STRLEN("Hello World")Check if the 1st string matches the RegEx pattern from the 2nd string
Ex: STRMP("String", "String-?")Check if the 1st string starts with the 2nd string
Ex: STRSTW("String", "Str")