function
First seen , last seen .
string_replace
See also: string_replace (function-call)
A built-in CFEngine function in the data category that returns a string. string_replace is called 12 times from 1 bundle or body in 1 policy file, on 100 hosts in your infrastructure.
- Signature
string_replace(string, string, string, [option], ...)- Parameters
stringSource string (.*)stringString or list of strings to replace (.*)stringReplacement string or list of strings (.*)optionWhether to expect strings or list of strings (strings,lists)
Variadic: at least 3 and at most 4 arguments.- Returns
string- Category
- data