TRUECALC
Functions

MIDB

Substring by byte position

When to use it

When should I use MIDB instead of MID?

Use MIDB when extracting a substring using byte offsets rather than character positions, which is essential for multibyte text such as CJK where byte and character positions differ.

Used in

operations

Syntax

MIDB(text, start_byte, num_bytes)

On this page