UtilitiesGetCommaTokenValue Method |
Returns the Value from a (case-insensitive) token in the header string. Correctly handles double-quoted strings.
Allows comma and semicolon as delimiter. Trailing whitespace may be present.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static string GetCommaTokenValue(
string sString,
string sTokenName
)
Public Shared Function GetCommaTokenValue (
sString As String,
sTokenName As String
) As String
public:
static String^ GetCommaTokenValue(
String^ sString,
String^ sTokenName
)
Parameters
- sString
- Type: SystemString
Name of the header - sTokenName
- Type: SystemString
Name of the token
Return Value
Type:
StringValue of the token if present; otherwise, null
See Also