Loading TOC...

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)

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