Skip to content

[Feature]: corefunc_str_template #158

@skyzyx

Description

@skyzyx

What functionality would you like to see?

data "corefunc_str_marker_replace" "str" {
  iterative = false
  string    = "{eight}wo{three}"

  replacements = {
    two   = "2"
    three = "}3"
    eight = "8{t"
  }
}
#=> 8{two}3

data "corefunc_str_marker_replace" "str" {
  iterative = true
  string    = "{eight}wo{three}"

  replacements = {
    two   = "2"
    three = "}3"
    eight = "8{t"
  }
}
#=> 823

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions