[Mono-list] How to fix StrLike bug in 2.4

Andrus kobruleht2 at hot.ee
Mon Mar 22 16:47:30 EDT 2010


> There are three options:

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

Pattern is not known at design time. I need to implement function below.
How to make this function work properly in Mono 2.4 ?

Andrus.

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



More information about the Mono-list mailing list