Click or drag to resize
UtilitiesTrimTo Method
Ensures that the target string is iMaxLength or fewer characters

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static string TrimTo(
	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
Up to iMaxLength characters from the "Head" of the string.
See Also