MarkLogic 10 Product Documentation
fn:string-to-codepoints

fn:string-to-codepoints(
   $arg as xs:string
) as xs:integer*

Summary

Returns the sequence of Unicode code points that constitute an xs:string. If $arg is a zero-length string or the empty sequence, the empty sequence is returned.

Parameters
arg A string.

Example

fn:string-to-codepoints("Thèrése")

returns the sequence (84, 104, 233, 114, 232, 115, 101)
Powered by MarkLogic Server | Terms of Use | Privacy Policy