octet_length

Returns the number of bytes in "string_expression".

Syntax

octet_length ( string_expression )

Example 1

octet_length ( 'ABCDEF' )

Result

6

Example 2

octet_length ( '' )

Result

0