Loading TOC...

fn.stringLength

fn.stringLength(
   [$sourceString as String?]
) as Number?

Summary

Returns an integer representing the length of the specified string. The length is 1-based, so a string that is one character long returns a value of 1.

Parameters
$sourceString The string to calculate the length.

Example

fn.stringLength("12345")

=> 5

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy