sql.octetLength( x as String ) as Number
Returns the length of the string "str" in bits.
sql.octetLength("text") => 4