Name
string-length — Returns the number of characters in the string.
Synopsis
integer
string-length
(
|
strg
string
) ; |
Description
The string-length() XPATH function returns the number of characters in the string. If the argument is omitted, it defaults to the context node converted to a string, in other words the string-value of the context node.
Parameters
strg
The string whose length must be measured.
Return Types
Integer
Examples
Example 24.622.
The following expressions returns 5.
string-length('ABCDE')