Loading TOC...

MarkLogic 12 EA 1 Product Documentation
sql:octet-length

sql:octet-length(
   $x as xs:string
) as xs:integer

Summary

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

Parameters
x The string to be evaluated.

Example

  sql:octet-length("text")
  => 4

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