[%CFEngine_function_prototype(string)%]

Description: Trim whitespace from beginning and end of string.

[%CFEngine_function_attributes(string)%]

Example:

[%CFEngine_include_example(string_trim.cf)%]

History: Introduced in CFEngine 3.16

See also: string_head(), string_tail() string_length(), string_reverse().