Text.ReplaceRange

Syntax

Text.ReplaceRange(text as nullable text, offset as number, count as number, newText as text) as nullable text

Description

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.

Reference Data

https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference

Power Query M Functions / Text Functions / Text.ReplaceRange