Class StringFunctions.Split
java.lang.Object
org.apache.juneau.commons.svl.TypedFunction
org.apache.juneau.commons.svl.functions.StringFunctions.Split
- All Implemented Interfaces:
VarFunction
- Enclosing class:
- StringFunctions
#{split(s, separator)} — splits s on the literal separator
substring. Returns a JSON-array-shortcut string (e.g. ["a","b","c"]) so the
result composes with other functions that accept String[]. Trailing empty fields
dropped.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.commons.svl.TypedFunction
invoke, maxArity, minArity
-
Constructor Details
-
Split
public Split()
-
-
Method Details
-
name
Description copied from interface:VarFunctionThe function's invocation name as it appears between#{}and the opening parenthesis in the template. Must consist of ASCII letters, digits, and underscores; must begin with a letter.- Returns:
- The invocation name. Never
nullor empty.
-
invoke
-