# concatenate

    .concatenate a:{String} \
              with:{String} \
                if:{Boolean = true}
    -> String

Content copied to clipboard

Concatenates two strings if a condition is met.

    .concatenate {abc} with:{def} <!-- abcdef -->

Content copied to clipboard

    .var {condition} {no}

    .concatenate {abc} with:{def} if:{.condition} <!-- abc -->

Content copied to clipboard

#### Return

a new string that is the concatenation of `a` and `b` if `condition` is true, `a` otherwise

#### Parameters

a

first string

with

second string

if

- Optional

if true, concatenates `a` and `b`

#### Chaining

This function is designed to be chained with other function calls:

    String::concatenate with:{String} \
                if:{Boolean}
    -> String

Content copied to clipboard