Loading TOC...

MarkLogic 12 EA 2 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)

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