concatenate
Concatenates two strings if a condition is met. Example: Hello,
and World!
->Hello, World!
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