StringUtils.TerminateString

Terminates a string with the given end string/character, but only if the text specified doesn't already exist and the string is not empty.

public static string TerminateString(string value,
	string terminator)

Parameters

value
String to terminate

terminator
String to terminate the text string with


See also:

Class StringUtils

© West Wind Technologies, 1996-2020 • Updated: 07/15/20
Comment or report problem with topic