MarkLogic 12 EA 1 Product Documentation
fn.stringToCodepoints

fn.stringToCodepoints(
   arg as String
) as Sequence

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.stringToCodepoints("Thérèse")

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