Smartsite SXML CopyCode image Copy Code
{string.appendifmissing('Hello World', '!')}
{string.appendifmissing('Hello World!', '!')}
{string.appendifmissing('Hello World!', '!!')}

{string.appendifmissingany('Hello World?', '?', '!!')}
{string.appendifmissingany('Hello World?', '!', '!!')}
Example Result CopyCode image Copy Code
Hello World!
Hello World!
Hello World!!!

Hello World?
Hello World?!!
SXML