Stuff

Replaces a substring that starts at the start index and has the specified length with the replacement string

Stuff("Central region", 2, 5) → "Cl region"
Stuff("Developer", 4, 6) → "Dev"

Inputs

Stuff(string, startIndex, length, replaceWith)

  • string - A text value to replace in

  • startIndex - Start index

  • length - Lenght of the replaced part

  • replaceWith - A text to replace with

Last updated