1.0.0 • Published 2 years ago

@pulumi/str v1.0.0

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

pulumi-str

Cross language string manipulation functions

Note: This provider is in public beta.

Provided functions

FunctionDescription
str:index:replaceReplace occurrences of a substring with another substring.
str:index:trimSuffixTrim a suffix from a string.
str:index:trimPrefixTrim a prefix from a string.
str:regexp:splitSplit a string on a regex.
str:regexp:replaceA 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.

1.0.0

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago