https://bugs.documentfoundation.org/show_bug.cgi?id=126913
Bug ID: 126913
Summary: Wrong behavior of Basic "mid" statement
Product: LibreOffice
Version: 6.2.5.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: deust...@bk.ru
Execute the following basic code and
run function "my_function".
function my_function () as string
dim my_string as string
let my_string = "abc def jhi"
mid( my_string, 5 ) = "123"
let my_function = my_string
end function
What value was returned by this function?
Actual behavior:
* "microsoft office 2016 excel":
return value is "abc 123 def";
* "libreoffice 6.2.5.2 calc":
return value is "abc 123".
Expected behavior:
return values must be identical.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs