[Mono-list] Implement StrLike in C#

Andrus kobruleht2 at hot.ee
Sun Sep 28 11:36:03 EDT 2008


How to implement method below in Mono in C# ?

I havent from StrLike implementation in MCS source code.
Since VB Like operator requires this it must be implemented somewhere.

Andrus.

public static bool Like(string pattern, string source)
    {
        return
Microsoft.VisualBasic.CompilerServices.StringType.StrLike(source, pattern,
            Microsoft.VisualBasic.CompareMethod.Text);
    }

I created this code by following this thread:

http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/32649965654df408/57ba3e39a6c2711f?lnk=st&q=#57ba3e39a6c2711f



More information about the Mono-list mailing list