This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Appends a string if the source doesn't end with any of the characters specified in anyChars.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(IsDeterministic = true)]
public static string AppendIfMissingAny(
	string data,
	string anyChars,
	string appendData
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := True)> _
Public Shared Function AppendIfMissingAny ( _
	data As , _
	anyChars As , _
	appendData As  _
) As 

Parameters

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

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

See Also

Advanced