xdmp:initcap( $string as xs:string? ) as xs:string?
Returns the string where the first letter of each token has been uppercased.
xdmp:initcap("my simple example") => "My Simple Example"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.