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

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

Parameters

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

Return Value

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