Share via


Text.Insert

Syntax

Text.Insert(
    text as nullable text,
    offset as number,
    newText as text
) as nullable text

About

Returns the result of inserting text value newText into the text value text at position offset. Positions start at number 0.

Example 1

Insert "C" between "B" and "D" in "ABD".

Usage

Text.Insert("ABD", 2, "C")

Output

"ABCD"