com.spoledge.audao.parser.gql.impl.soft.func
Class FuncINSTR
java.lang.Object
com.spoledge.audao.parser.gql.impl.soft.func.Func
com.spoledge.audao.parser.gql.impl.soft.func.FuncINSTR
- All Implemented Interfaces:
- SoftFunction
public class FuncINSTR
- extends Func
INSTR( text, substring [, start [, occurrence ]) .
Searches for substring in the text.
Returns the position fo the substring found or 0 if not found.
start: optional 1,2,3... (1 = first char)
if negative, then searches backwards (-1 = last char)
if 0, then starting at the first char.
occurrence: optional number 1,2,...
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FuncINSTR
public FuncINSTR()
getFunctionValueImpl
protected java.lang.Object getFunctionValueImpl(java.util.List<java.lang.Object> args)
- Specified by:
getFunctionValueImpl
in class Func
checkNumOfParams
protected void checkNumOfParams(java.util.List<java.lang.Object> args)
- Specified by:
checkNumOfParams
in class Func
Copyright © 2010 Spolecne s.r.o. All Rights Reserved.