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