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