StringExtensionsContainsAny(String, Char) Method
Verifies if the string contains any of the values.
Namespace: MoreDateTime.InternalAssembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
public static bool ContainsAny(
this string value,
params char[] values
)
Dim value As String
Dim values As Char()
Dim returnValue As Boolean
returnValue = value.ContainsAny(values)
No code example is currently available or this language may not be supported.
- value String
- The values to verify
- values Char
- The values to be contained
BooleanTrue if contains one of the valuesIn Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).