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"