Loading TOC...

MarkLogic 12 EA 2 Product Documentation
sql:bit-length

sql:bit-length(
   $str as xs:string
) as xs:integer

Summary

Returns the length of the string "str" in bits.

Parameters
str The string to be evaluated.

Example

  sql:bit-length("text")
  => 32

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