org.pentaho.reporting.libraries.formula.function.text
Class LeftFunction
java.lang.Object
org.pentaho.reporting.libraries.formula.function.text.LeftFunction
- All Implemented Interfaces:
- Serializable, Function
public class LeftFunction
- extends Object
- implements Function
This function returns a selected number of text characters from the left.
This function depends on MidFunction
.
- Author:
- Cedric Pronzato
- See Also:
MidFunction
,
Serialized Form
LeftFunction
public LeftFunction()
evaluate
public TypeValuePair evaluate(FormulaContext context,
ParameterCallback parameters)
throws EvaluationException
- Specified by:
evaluate
in interface Function
- Throws:
EvaluationException
getCanonicalName
public String getCanonicalName()
- Specified by:
getCanonicalName
in interface Function