UtilitiesTrimAfter Method (String, String) |
Returns the "Head" of a string, before and not including a specified search string.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static string TrimAfter(
string sString,
string sDelim
)
Public Shared Function TrimAfter (
sString As String,
sDelim As String
) As String
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:
StringPart of a string up to (but not including) sDelim, or the full string if sDelim was not found.
See Also