Substring
Keywords: uk.ac.bbk.dcs.automed.qproc.functions.string.Substring class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.ac.bbk.dcs.automed.qproc.functions.string
Class Substring

    java.lang.Object
      uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
          uk.ac.bbk.dcs.automed.qproc.functions.string.Substring

    public class Substring

extends BuiltInFunction

Returns a substring of the input string based on the two other integer arguments.

The substring includes the letter denoted by the first integer argument, but does not inlude the letter denoted by the second integer argument. For example 'Substring 'string' 2 4' returns 'tr'.

Author:
  Lucas Zamboulis

Field Summary

Fields inherited from class uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
`arity, logger, typeList`

Constructor Summary
`Substring()`

Method Summary
`Cell` | `perform(Cell[] args, Evaluator e)`

Methods inherited from class uk.ac.bbk.dcs.automed.qproc.functions.BuiltInFunction
`finalize, getArity, getTypeList`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Substring

    public Substring()
              throws ParseException

Throws:
  `ParseException`

Method Detail

### perform

    public Cell perform(Cell[] args,
                        Evaluator e)
                 throws TypeException,
                        QProcException

  Specified by:
    `perform` in class `BuiltInFunction`
  Returns:
    a Cell object that is the root of a graph that represents the result of applying the built-in function to the arguments args. Uses the Evaluator e to evaluate any sub-queries that need to be evaluated.
  Throws:
    `TypeException`
    `QProcException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD