UtilitiesTrimBefore Method (String, String) |
Returns the "Tail" of a string, after (but NOT including) the First instance of specified search string.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static string TrimBefore(
string sString,
string sDelim
)
Public Shared Function TrimBefore (
sString As String,
sDelim As String
) As String
public:
static String^ TrimBefore(
String^ sString,
String^ sDelim
)
Parameters
- sString
- Type: SystemString
The string to trim from. - sDelim
- Type: SystemString
The delimiting string after which the text should be returned.
Return Value
Type:
StringPart of a string after (but not including) sDelim, or the full string if sDelim was not found.
See Also