sql:bit-length( $str as xs:string ) as xs:integer
Returns the length of the string "str" in bits.
sql:bit-length("text") => 32
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.