Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Syntax
Text.ReplaceRange(
text as nullable text,
offset as number,
count as number,
newText as text
) as nullable text
About
Returns the result of removing a number of characters, count, from text value text beginning at position offset and then inserting the text value newText at the same position in text.
Example 1
Replace a single character at position 2 in text value "ABGF" with new text value "CDE".
Usage
Text.ReplaceRange("ABGF", 2, 1, "CDE")
Output
"ABCDEF"