Navigation Structure
Table of contents
Funcml implements string manipulation.
_replace
_replace replaces accordingly to its substitutions arrays the value loaded in content.
Usage
key:
_replace:
content: "a-b-c"
substitutions:
- ["b", "z"]
- ["-", "."]
will be rendered as:
key: "a.z.c"
_upcase
_upcase transforms its value to a upcase string.
Usage
key:
_upcase: abc
will be rendered as:
key: ABC
_downcase
_downcase transforms its value to a downcase string.
Usage
key:
_downcase: ABC
will be rendered as:
key: abc
_capitalize
_capitalize capitalizes its value
Usage
key:
_capitalize: abc
will be rendered as:
key: Abc