Appends a string if the source doesn't end with any of the characters specified in anyChars.

Syntax

Smartsite SXML CopyCode image Copy Code
string string.appendifmissingany(string data, string anyChars, string appendData)

Parameters

Name Data Type Description
data String The input string.
anyChars String The list of characters to check for at the end of the input string.
appendData String The string to append.

Return Value

Data Type Description
String The concatenation of the two input strings of the input string doesn't end with any of the given characters.

Expand image Example

SXML