Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 494 Bytes

string_reverse.markdown

File metadata and controls

23 lines (14 loc) · 494 Bytes
layout title published
default
string_reverse
true

[%CFEngine_function_prototype(data)%]

Description: Returns data reversed.

[%CFEngine_function_attributes(data)%]

Example:

[%CFEngine_include_snippet(string_reverse.cf, #+begin_src cfengine3, .*end_src)%]

Output:

[%CFEngine_include_snippet(string_reverse.cf, #+begin_src\s+example_output\s*, .*end_src)%]

History: Introduced in CFEngine 3.6

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