Text.Insert

Syntax

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

About

返回将文本值newText插入到位置offset的文本值text的结果。 位置从数字 0 开始。

示例 1

在“ABD”中的“B”和“D”之间插入“C”。

用法

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

输出

"ABCD"