Navigation Structure

Table of contents

  1. _replace
  2. _upcase
  3. _downcase
  4. _capitalize

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