[Mono-bugs] [Bug 77228][Blo] New - Error in Split Methode VB.NET
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jan 12 14:11:33 EST 2006
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 spam at its-e.de.
http://bugzilla.ximian.com/show_bug.cgi?id=77228
--- shadow/77228 2006-01-12 14:11:33.000000000 -0500
+++ shadow/77228.tmp.14748 2006-01-12 14:11:33.000000000 -0500
@@ -0,0 +1,51 @@
+Bug#: 77228
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details: XP
+Status: NEW
+Resolution:
+Severity: 001 One hour
+Priority: Blocker
+Component: VB Runtime
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: spam at its-e.de
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Error in Split Methode VB.NET
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+wrong getupperbound
+
+Steps to reproduce the problem:
+1.
+
+in a with VB.NET 2002 created programm I habe follow code:
+
+ Dim str As String = "@#33@#66@#88@#99"
+ Dim a() As String = Split(str, "@#")
+ MessageBox.Show(a.GetUpperBound(0)) 'show 3, in MS.NET 4
+
+ Dim b() As String
+ b = System.Text.RegularExpressions.Regex.Split(str, "@#")
+
+ MessageBox.Show(b.GetUpperBound(0)) 'show right 4
+
+
+
+Actual Results:
+3
+
+Expected Results:
+4
+
+How often does this happen?
+everytime
+
+
+Additional Information:
+Tested unter Mono 1.1.13 under Windows XP.
More information about the mono-bugs
mailing list