string-length
Returns the number of characters in the string supplied as argument.

Languages
Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.
Parameters
Name | Description |
---|---|
string | The input string. |
Example
If the input string is car, the function returns 3. If the input string is an empty string, the function returns 0.