Returns the "Tail" of a string, after (and including) the first instance of specified search string.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static string TrimUpTo(
string sString,
string sDelim
)
Public Shared Function TrimUpTo (
sString As String,
sDelim As String
) As String
public:
static String^ TrimUpTo(
String^ sString,
String^ sDelim
)
Parameters
- sString
- Type: SystemString
The string to trim from. - sDelim
- Type: SystemString
The delimiting string at which the text should be returned.
Return Value
Type:
StringPart of the string starting with sDelim, or the entire string if sDelim not found.
See Also