Skip to content

pulumi/pulumi-str

Repository files navigation

WARNING!!! Due to usage of this provider we are planing to archive this, please let us know if you are using it and it will cause you an inconvience.

Cross language string manipulation functions

Note: This provider is in public beta.

Provided functions

Function Description
str:index:replace Replace occurrences of a substring with another substring.
str:index:trimSuffix Trim a suffix from a string.
str:index:trimPrefix Trim a prefix from a string.
str:regexp:split Split a string on a regex.
str:regexp:replace A regex based replace on a string.

If you think we are missing a string manipulation function, please open an issue.

Motivation

The primary consumer of these functions will be Pulumi YAML. Secondary consumers will be code that is generated by pulumi convert from Pulumi YAML. This allows generated code to have the exact same regular expression semantics as Pulumi YAML.

About

Cross language string manipulation functions

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •