Click or drag to resize
UtilitiesEllipsizeIfNeeded Method
Ensures that the target string is iMaxLength or fewer characters, appending ... if truncation occurred

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static string EllipsizeIfNeeded(
	string sString,
	int iMaxLength
)

Parameters

sString
Type: SystemString
The string to trim from
iMaxLength
Type: SystemInt32
The maximum number of characters to return

Return Value

Type: String
The string, or up to iMaxLength-1 characters from the "Head" of the string, with \u2026 appeneded.
See Also