Cross language string manipulation functions
npm install @pulumi/strCross language string manipulation functions
Note: This provider is in public beta.
| 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.
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.