Loading TOC...

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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.