subStringAfter
Returns the part of a string that follows a given value.
Information noteNote: This feature is only available in
Talend Cloud Pipeline Designer and
Talend Data Mapper.
The substring returned is the part of the first argument that follows the first occurrence of the second argument.
If the first argument is an empty string or if the second argument is not found in the first argument, the function returns an empty string. If the second argument is an empty string, the function returns the full input string.
Arguments
- Input string.
- Substring of the input string.
Examples
Expression | Result |
---|---|
subStringAfter("Hello World", "l") | "lo World" |
subStringAfter("", "l") | "" |
subStringAfter("Hello World", "") | "Hello World" |
subStringAfter("Hello World", "v") | "" |