- All Implemented Interfaces:
- Function
public class SubstringAfterFunction
extends FunctionBase
implements Function
From http://docs.jsonata.org/string-functions.html:
$substringAfter(str, chars)
Returns the substring after the first occurrence of the character sequence
chars in str. If str is not specified (i.e. this function is invoked with
only one argument), then the context value is used as the value of str. If
str does not contain chars, then it returns str. An error is thrown if str
and chars are not strings.
Examples
$substringAfter("Hello World", " ")=="World"