org.apache.poi.hssf.record.formula.functions
Class Mid

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.functions.TextFunction
      extended by org.apache.poi.hssf.record.formula.functions.Mid
All Implemented Interfaces:
Function

public class Mid
extends TextFunction

An implementation of the MID function: Returns a specific number of characters from a text string, starting at the position you specify, based on the number of characters you specify.

Author:
Manda Wilson < wilson at c bio dot msk cc dot org >

Field Summary
 
Fields inherited from class org.apache.poi.hssf.record.formula.functions.TextFunction
EMPTY_STRING
 
Constructor Summary
Mid()
           
 
Method Summary
 Eval evaluate(Eval[] operands, int srcCellRow, short srcCellCol)
          Returns a specific number of characters from a text string, starting at the position you specify, based on the number of characters you specify.
 
Methods inherited from class org.apache.poi.hssf.record.formula.functions.TextFunction
attemptXlateToText, singleOperandEvaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mid

public Mid()
Method Detail

evaluate

public Eval evaluate(Eval[] operands,
                     int srcCellRow,
                     short srcCellCol)
Returns a specific number of characters from a text string, starting at the position you specify, based on the number of characters you specify.

See Also:
Eval


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.