[SPAM] - Re: [Mono-dev] String.IndexOf function Bug. - Bayesian Filter detected spam

Yogendra Thakur YogendraT at ami.com
Tue Nov 15 15:27:16 EST 2005


Hi Miguel,

There is slight modification required in this code.
[Code]
========
    string str = "MONO";
    int index = str.IndexOf("\0\0\0"); // not "/0/0/0"
    Console.WriteLine(" Index  : " + index.ToString());

This happens on Fedora Core 3 machine.

This bug is already fixed by Atsushi. 
See http://bugzilla.ximian.com/show_bug.cgi?id=76702  for further
details.

-Yogi

-----Original Message-----
From: Miguel de Icaza [mailto:miguel at ximian.com] 
Sent: Tuesday, November 15, 2005 3:13 PM
To: Yogendra Thakur
Cc: monodevelop-list at lists.ximian.com; mono-devel-list at lists.ximian.com
Subject: [SPAM] - Re: [Mono-dev] String.IndexOf function Bug. - Bayesian
Filter detected spam

Hello,

>        string str = "MONO";
>         int index = str.IndexOf("/0/0/0");
>         Console.WriteLine(" Index  : " + index.ToString()); 

What platform is this?  I do get -1



More information about the Mono-devel-list mailing list