Skip to main content Skip to complementary content

subStringAfter

Returns the part of a string that follows a given value.

Information noteNote: This feature is only available in 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

  1. Input string.
  2. 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") ""

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!