| java.lang.Object org.apache.poi.hssf.record.formula.functions.TextFunction org.apache.poi.hssf.record.formula.functions.Trim
Trim | public class Trim extends TextFunction (Code) | | An implementation of the TRIM function:
Removes leading and trailing spaces from value if evaluated operand
value is string.
author: Manda Wilson < wilson at c bio dot msk cc dot org > |
Method Summary | |
public Eval | evaluate(Eval[] operands, int srcCellRow, short srcCellCol) Removes leading and trailing spaces from value if evaluated
operand value is string.
Returns StringEval only if evaluated operand is of type string
(and is not blank or null) or number. |
evaluate | public Eval evaluate(Eval[] operands, int srcCellRow, short srcCellCol)(Code) | | Removes leading and trailing spaces from value if evaluated
operand value is string.
Returns StringEval only if evaluated operand is of type string
(and is not blank or null) or number. If evaluated operand is
of type string and is blank or null, or if evaluated operand is
of type blank, returns BlankEval. Otherwise returns ErrorEval.
See Also: org.apache.poi.hssf.record.formula.eval.Eval |
Fields inherited from org.apache.poi.hssf.record.formula.functions.TextFunction | final protected static String EMPTY_STRING(Code)(Java Doc)
|
|
|