次の方法で共有


Text.Insert

構文

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

バージョン情報

offset位置にテキスト値textnewTextテキスト値を挿入した結果を返します。 位置は 0 から始まります。

例 1

"ABD" に "B" と "D" の間に "C" を挿入します。

使用方法

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

アウトプット

"ABCD"