Click or drag to resize

imbStringCollectionExtensionsContainsAny Method (String, IEnumerableString, String, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static bool ContainsAny(
	this string target,
	IEnumerable<string> needles,
	out string match,
	bool trimNeedleWhitespace = true
)
Request Example View Source

Parameters

target
Type: SystemString
needles
Type: System.Collections.GenericIEnumerableString
match
Type: SystemString
trimNeedleWhitespace (Optional)
Type: SystemBoolean

Return Value

Type: Boolean

Usage Note

In 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).
See Also