[Mono-bugs] [Bug 22980] New - Split method does not work
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
3 Apr 2002 07:55:31 -0000
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by contact@christophe.vg.
http://bugzilla.ximian.com/show_bug.cgi?id=22980
--- shadow/22980 Wed Apr 3 02:55:31 2002
+++ shadow/22980.tmp.27623 Wed Apr 3 02:55:31 2002
@@ -0,0 +1,35 @@
+Bug#: 22980
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: contact@christophe.vg
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Split method does not work
+
+As show by this example the Split() method seems not work.
+
+class Tester {
+ public static void Main() {
+ string str = "This is a test, and more.";
+ char[] delims = new char[] { ' ', ',' };
+ foreach( string part in str.Split( delims ) ) {
+ System.Console.WriteLine( part );
+ }
+ }
+}
+
+[ntt@taurus cs]$ mcs split.cs
+RESULT: 0
+[ntt@taurus cs]$ mono split.exe
+This is a test, and more.
+RESULT: 0