FunctionsCommonStringPartitionReplaceCommonStringPartitionReplace CallableCommonStringPartitionReplace<T>(string: string, replacers: Record<string, T>): (string | T)[]Partition the string into separate parts using the given replacer keys, replacing them with replacer valuesType parametersTParametersstring: stringreplacers: Record<string, T>An object with replacements. Note that Node elements are cloned prior to the replacementReturns (string | T)[]
Partition the string into separate parts using the given replacer keys, replacing them with replacer values