Click or drag to resize
UtilitiesTrimAfter Method (String, Char)
Returns the "Head" of a string, before and not including the first instance of specified delimiter.

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static string TrimAfter(
	string sString,
	char chDelim
)

Parameters

sString
Type: SystemString
The string to trim from.
chDelim
Type: SystemChar
The delimiting character at which the trim should end.

Return Value

Type: String
Part of a string up to (but not including) chDelim, or the full string if chDelim was not found.
See Also