HelperStringHasMatch Method |
See if test string is identical to any of the passed list of strings.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static bool StringHasMatch(
string test,
params string[] args
)
Public Shared Function StringHasMatch (
test As String,
ParamArray args As String()
) As Boolean
public:
static bool StringHasMatch(
String^ test,
... array<String^>^ args
)
static member StringHasMatch :
test : string *
args : string[] -> bool
Parameters
- test
- Type: SystemString
The string to test. - args
- Type: SystemString
Variable number of strings to test against.
Return Value
Type:
BooleanTrue if test matches one of the subsequent arguments.
See Also