Class Contains
java.lang.Object
com.udojava.evalex.AbstractLazyFunction
me.hsgamer.hscore.expression.StringComparator
me.hsgamer.hscore.expression.string.Contains
- All Implemented Interfaces:
com.udojava.evalex.LazyFunction
Check if the 1st string contains the 2nd string
Ex: STRCT("this", "is")
Ex: STRCT("this", "is")
-
Field Summary
Fields inherited from class com.udojava.evalex.AbstractLazyFunction
booleanFunction, name, numParams -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.hsgamer.hscore.expression.StringComparator
lazyEvalMethods inherited from class com.udojava.evalex.AbstractLazyFunction
getName, getNumParams, isBooleanFunction, numParamsVaries
-
Constructor Details
-
Contains
public Contains()
-
-
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
-