StringUtils.Truncate

Truncate a string to maximum length.

public static string Truncate(string text,
	int maxLength)

Return Value

Trimmed string

Parameters

text
Text to truncate

maxLength
Maximum length


See also:

Class StringUtils

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