Loading TOC...

MarkLogic 10 Product Documentation
sql.octetLength

sql.octetLength(
   x as String
) as Number

Summary

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

Parameters
x The string to be evaluated.

Example

  sql.octetLength("text")
  => 4

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