Class EndsWith
java.lang.Object
com.ezylang.evalex.functions.AbstractFunction
me.hsgamer.hscore.expression.StringComparator
me.hsgamer.hscore.expression.string.EndsWith
- All Implemented Interfaces:
com.ezylang.evalex.functions.FunctionIfc
@FunctionParameter(name="string") @FunctionParameter(name="substring")
public class EndsWith
extends StringComparator
Check if the 1st string ends with the 2nd string
Ex: STREDW("String", "ing")
Ex: STREDW("String", "ing")
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.hsgamer.hscore.expression.StringComparator
evaluateMethods inherited from class com.ezylang.evalex.functions.AbstractFunction
getFunctionParameterDefinitions, hasVarArgs, validatePreEvaluationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ezylang.evalex.functions.FunctionIfc
getCountOfNonVarArgParameters, isParameterLazy
-
Constructor Details
-
EndsWith
public EndsWith()
-
-
Method Details
-
compare
Description copied from class:StringComparatorCompare the two strings- Specified by:
comparein classStringComparator- Parameters:
s1- the 1st strings2- the 2nd string- Returns:
- the result
-