Apache OpenOffice (AOO) Bugzilla – Issue 23699
split() returns wron value on empty string
Last modified: 2003-12-19 00:27:34 UTC
split() returns wron value on empty string run in macro editor: dim a() as string print uBound(a) ' shows "-1" a = split ("", "x") print uBound(a) ' BUG: fails with message "index out of range" other basic dialekts return an array with an empty string like: a(0) = "" ' where uBound shows 0, which is much 'nicer'
grrr - got errormesage, but got submitted.... *** This issue has been marked as a duplicate of 23697 ***
closing