substring-after
The substring-after
function returns a string that is the rest of a given string after a given substring.
Syntax
substring-after( haystack, needle )
Parameters
Return value
A string.
Examples
XPath Example | Output |
---|---|
substring-after('aa-bb','-') |
bb |
substring-after('aa-bb','a') |
a-bb |
substring-after('aa-bb','b') |
b |
substring-after('aa-bb','q') |
(empty string) |
Specifications
Gecko support
Supported.