This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Appends the second string to the first if the first one doesn't end with the second one.

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

Syntax

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

Parameters

s1
String
The first input string.
s2
String
The second input string.

Return Value

The concatenation of the two input strings.

See Also

Advanced