mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-02 22:00:19 -05:00
This also renames some of the existing function pages whose source filenames were not matching the usual naming scheme (.html.md).
523 B
523 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| functions | replace function | docs-funcs-string-replace | The replace function searches a given string for another given substring, and replaces all occurences with a given replacement string. |
replace Function
replace searches a given string for another given substring, and replaces
each occurence with a given replacement string.
replace(string, substring, replacement)
Examples
> replace("1 + 2 + 3", "+", "-")
1 - 2 - 3