TRUECALC
Functions

LEFTB

Left N bytes of text

When to use it

When should I use LEFTB instead of LEFT?

Use LEFTB when you need to extract a specific number of bytes from the start of a string, which matters for multibyte (CJK) text where one character may occupy more than one byte.

Used in

operations

Syntax

LEFTB(text, num_bytes)

On this page