MarkLogic 10 Product Documentation
xdmp:initcap

xdmp:initcap(
   $string as xs:string?
) as xs: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