PatternMatchUtils.SimpleMatch(String, String) Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PatternMatchUtils.SimpleMatch(String, String) Method

Match a String against the given patterns, supporting the following simple pattern styles: "xxx*", "*xxx" and "*xxx*" matches, as well as direct equality.

[Visual Basic]
Public Overloads Shared Sub SimpleMatch( _
   ByVal patterns As String, _
   ByVal str As String _
public static bool SimpleMatch(
   string[] patterns,
   string str


the patterns to match against
the String to match

Return Value

whether the String matches any of the given patterns

See Also

PatternMatchUtils Class | Spring.Util Namespace | PatternMatchUtils.SimpleMatch Overload List