ClassStringExtensions
Class
Common functions we'll want to use on Strings. Fiddler makes extensive use of strings which should be interpreted in a case-insensitive manner.
WARNING: Methods assume that the calling object is not null, which is lame for reliability but arguably good for performance.
Definition
Namespace:Fiddler
Assembly:FiddlerCore.dll
Syntax:
cs-api-definition
public static class StringExtensions
Inheritance: objectStringExtensions
Inherited Members
Methods
TrimAfter(string, char)
Returns the "Head" of a string, before and not including the first instance of specified delimiter.
Declaration
cs-api-definition
public static string TrimAfter(this string str, char delimiter)
Parameters
str
The string to trim from.
delimiter
The delimiting character at which the trim should end.
Returns
Part of a string up to (but not including) chDelim, or the full string if chDelim was not found.