string_downcase
Table of contents
Prototype: string_downcase(data)
Return type: string
Description: Returns data
in lower case.
Arguments:
data
:string
- Input string - in the range:.*
Example:
code
body common control
{
bundlesequence => { "example" };
}
bundle agent example
{
vars:
"downcase" string => string_downcase("ABC"); # will contain "abc"
reports:
"downcased ABC = $(downcase)";
}
Output:
code
R: downcased ABC = abc
History: Introduced in CFEngine 3.6
See also: string_upcase()
.