|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.singularsys.jep.misc.FunctionSet com.singularsys.jep.functions.strings.StringFunctionSet
public class StringFunctionSet
Adds string functions left, right, lower, upper, substring, len, mid, trim.
Use jep.setComponent(new StringFunctionSet());
to add string functions.
This will add the following functions to jep
concat(str1,str2,...)
: Concatenates stringleft(str,len)
: returns the left most len characters from a stringright(str,len)
: returns the right most characters from a stringmid(str,start,len)
: returns the middle of a stringsubstr(str,start,end)
: returns a substring of a stringlen(str)
: returns the length of a stringlower(str)
: converts a string to lower-caseupper(str)
: converts a string to upper-casetrim(str)
: removes leading and trailing whitespace
Field Summary |
---|
Fields inherited from class com.singularsys.jep.misc.FunctionSet |
---|
functions |
Constructor Summary | |
---|---|
StringFunctionSet()
|
Method Summary |
---|
Methods inherited from class com.singularsys.jep.misc.FunctionSet |
---|
get, getLightWeightInstance, init, put, remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringFunctionSet()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |