[Libreoffice-bugs] [Bug 144924] Split Basic function return Array Type String, not Variant/String like the oldest version
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 5 08:14:29 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=144924
--- Comment #5 from edil at helpidea.net ---
>From Pitonyak OpenOffice.org Macros Explained §5.4. Array to String and back
again pag. 118
"The Split function returns a Variant array of strings, created by breaking a
string into multiple strings based on a delimiter."
And this for many many years ....
Need to think a lot before changing a behavior of 20 years...
Fix Redim with a new array() As String and then copy values with CStr()...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20211005/28660077/attachment.htm>
More information about the Libreoffice-bugs
mailing list