# ByteLen

## Description

Returns the number of bytes in the given string. Note that for strings encoded in UTF-8 this may not be equal to the number of characters in the string, as each character can use up to 4 bytes. To determine the number of characters in a string use the Len command.

## Definition

integer ByteLen( strin )

UINT agk::ByteLen( const char* strin )

## Parameters

- strin - The string to measure the length of