TOC PREV NEXT INDEX

Netscape XSLT


starts-with()


The starts-with() function tests whether the first argument string starts with the second argument substring.

Syntax:

boolean starts-with(string, substring) 

Arguments:

The whole string, the substring. If the values aren't strings, they are converted using the rules of the string() function.

Results:

A boolean. If the string begins with the substring, true. Otherwise, false.

Defined: XPath, 4.2.

NS support: Supported.


Send comments on this document to devdoc-feedback@netscape.com
TOC PREV NEXT INDEX