# LEN/LENB Function

The LEN/LENB function is one of the text and data functions. Is used to analyse the specified string and return the number of characters it contains. The LEN function is intended for languages that use the single-byte character set (SBCS), while LENB - for languages that use the double-byte character set (DBCS) like Japanese, Chinese, Korean etc.

The LEN/LENB function syntax is:

LEN(string)

LENB(string)

where string is a data entered manually or included into the cell you make reference to.

To apply the LEN/LENB function,

1. select the cell where you wish to display the result,
2. click the Insert Function icon situated at the top toolbar,
   or right-click within a selected cell and select the Insert Function option from the menu,
   or click the icon situated at the formula bar,
3. select the Text and data function group from the list,
4. click the LEN/LENB function,
5. enter the required argument,
6. press the Enter button.

The result will be displayed in the selected cell.