TOC PREV NEXT INDEX

Netscape and XSLT


substring-after()

The substring-after() function returns the part of a string that happens after the first occurrence of a specified substring.

Syntax:
string substring-after(string, substring) 
Arguments:
Two strings (or, if the values passed in are not strings, their string-value). The first argument is the string to be searched and the second argument is the substring that marks the start of the result substring.
Result:
A substring of the first argument, starting with the first occurrence of the second argument substring. If the second argument does not occur, the function returns an empty string. If the second argument is empty, the result is the first argument. If the first argument is empty, the result is an empty string.
Defined: XPath, section 4.2.
NS support: Supported.

Comments? devdoc-feedback@netscape.com
TOC PREV NEXT INDEX