fn.stringToCodepoints( arg as String ) as Sequence
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. |
fn.stringToCodepoints("Thérèse") returns the sequence (84, 104, 233, 114, 232, 115, 101)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.