Skip to main content

MID

Returns a specific number of characters from a text string, starting at the position you specify.

CategoryText
SyntaxMID(text, start_num, num_chars)

Parameters

ParameterRequiredDescription
textRequiredThe text string containing the characters to extract.
start_numRequiredThe position of the first character to extract (1-based).
num_charsRequiredThe number of characters to return.

Example

MID("Hello", 2, 3)   // → "ell"

Auto-generated from the EngCanvas function registry.