TOC PREV NEXT INDEX

Netscape XSLT


string-length()


The string-length() function returns the number of characters in a string value.

Syntax:

number string-length(string[optional]) 

Arguments:

Optionally, a string. If the argument is not a string, it is converted using the rules of the string() function. If no argument is specified, the function uses the string value of the context node.

Result:

A number, the number of characters.

Defined: XPath, section 4.2.

NS support: Supported.


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