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