substring-after

Checks that a given string contains the characters of a second given string and returns the part of the first string that follows the occurrence of the second string.

Syntax

    substring-after(string, string)

Parameters

Two string values separated by a comma. substring-after checks that the first string contains the second string.

Returns

A string that contains the characters from the first parameter that follow the occurrence of the second parameter in the first parameter. If the first parameter does not include the characters from the second parameter, substring-after returns an empty string.

Example

The following expression returns 04/01:

substring-after("2005/04/01","/")