StringUtils.TextAbstract

Returns an abstract of the provided text by returning up to Length characters of a text string. If the text is truncated a ... is appended.

Note: Linebreaks are converted into spaces.

public static string TextAbstract(string text,
	int length)

Return Value

string

Parameters

text
Text to abstract

length
Number of characters to abstract to


See also:

Class StringUtils

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