> For the complete documentation index, see [llms.txt](https://docs.tabula.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tabula.io/data-transformation/formulas/string-functions/stuff.md).

# Stuff

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

```mathematica
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
