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 terminatorString)

Parameters

value
String to terminate

terminatorString
String to terminate the text string with


See also:

Class StringUtils

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic