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