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

## com.singularsys.jep.functions.strings
Class StringFunctionSet

    java.lang.Object
      com.singularsys.jep.misc.FunctionSet
          com.singularsys.jep.functions.strings.StringFunctionSet

All Implemented Interfaces:
  JepComponent, java.io.Serializable

    public class StringFunctionSet

extends FunctionSet

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 string
- `left(str,len)`: returns the left most len characters from a string
- `right(str,len)`: returns the right most characters from a string
- `mid(str,start,len)`: returns the middle of a string
- `substr(str,start,end)`: returns a substring of a string
- `len(str)`: returns the length of a string
- `lower(str)`: converts a string to lower-case
- `upper(str)`: converts a string to upper-case
- `trim(str)`: removes leading and trailing whitespace

See Also:
  Serialized Form

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

### StringFunctionSet

    public StringFunctionSet()

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

Copyright © 2008 Singular Systems http://www.singularsys.com/jep