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-2024 • Updated: 06/29/24
Comment or report problem with topic