![](/apidoc/images/printerFriendly.png)
MarkLogic Server 11.0 Product Documentation
sql.bitLengthsql.bitLength(
str as String
) as Number
Summary
Returns the length of the string "str" in bits.
Parameters |
str |
The string to be evaluated.
|
Example
sql.bitLength("text")
=> 32
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.