Class Length

java.lang.Object
com.ezylang.evalex.functions.AbstractFunction
me.hsgamer.hscore.expression.string.Length
All Implemented Interfaces:
com.ezylang.evalex.functions.FunctionIfc

@FunctionParameter(name="value") public class Length extends com.ezylang.evalex.functions.AbstractFunction
Get the length of the string
Ex: STRLEN("Hello World")
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.ezylang.evalex.data.EvaluationValue
    evaluate(com.ezylang.evalex.Expression expression, com.ezylang.evalex.parser.Token token, com.ezylang.evalex.data.EvaluationValue... evaluationValues)
     

    Methods inherited from class com.ezylang.evalex.functions.AbstractFunction

    getFunctionParameterDefinitions, hasVarArgs, validatePreEvaluation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.ezylang.evalex.functions.FunctionIfc

    isParameterLazy
  • Constructor Details

    • Length

      public Length()
  • Method Details

    • evaluate

      public com.ezylang.evalex.data.EvaluationValue evaluate(com.ezylang.evalex.Expression expression, com.ezylang.evalex.parser.Token token, com.ezylang.evalex.data.EvaluationValue... evaluationValues)