substring-after
Returns the portion of the string that occurs after the first occurrence of substr. If substr does not occur in string, the function returns an empty string.
Languages
Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.
Parameters
Name | Description |
---|---|
string | The input string. |
substr | The sub-string. Any characters after the first occurrence of substr are the result of the function. |
Example
If the input string is MapForce, and substr is Map, the function returns Force. If the input string is 2020/01/04 and substr is /, the function returns 01/04. See also Example: Mapping Data from an RSS Feed.