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