# BYTELEN
Read Time: 1 minute(s)
# Description
The BYTELEN function returns the length of the expression as the number of bytes rather than the number of characters. It is used as:
BYTELEN(expression)
1
Where expression can return a result of any type. The BYTELEN function will then return the byte count of the expression.
# Note
The BYTELEN function will always return the actual byte count for the expression; irrespective of the whether International Mode is in operation at the time. This compares with the LEN function, which will return a character count. The character count may differ from the byte count when processing in International Mode.
Go back to jBASE BASIC
Go back to Programmers' Reference Guide