xdmp.initcap

xdmp.initcap(
   string as String?
) as String?

Summary

Returns the string where the first letter of each token has been uppercased.

Parameters
string The string to modify.

Example

xdmp.initcap("my simple example");

=> "My Simple Example"
Powered by MarkLogic Server | Terms of Use | Privacy Policy