You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/website/docs/configuration/functions/replace.html.md

523 B

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