MarkLogic 12 EA 1 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
Powered by MarkLogic Server | Terms of Use | Privacy Policy