concatenate

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

Concatenates two strings if a condition is met.

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

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

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

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