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

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

public class Mid
extends java.lang.Object
implements Function

An implementation of the MID function
MID returns a specific number of characters from a text string, starting at the specified position.

Syntax:
MID(text, start_num, num_chars)

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

Constructor Summary
Mid()
           
 
Method Summary
 Eval evaluate(Eval[] args, 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 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[] args,
                     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.

Specified by:
evaluate in interface Function
See Also:
Eval


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