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, 2019 • Updated: 06/23/19
Comment or report problem with topic