<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:oliver.brinzing@gmx.de" title="Oliver Brinzing <oliver.brinzing@gmx.de>"> <span class="fn">Oliver Brinzing</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong behavior of Basic "mid" statement"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126913">bug 126913</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Version</td>
<td>6.2.5.2 release
</td>
<td>Inherited From OOo
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>oliver.brinzing@gmx.de
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong behavior of Basic "mid" statement"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126913#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Wrong behavior of Basic "mid" statement"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126913">bug 126913</a>
from <span class="vcard"><a class="email" href="mailto:oliver.brinzing@gmx.de" title="Oliver Brinzing <oliver.brinzing@gmx.de>"> <span class="fn">Oliver Brinzing</span></a>
</span></b>
<pre>IMHO this is not a bug, to make mid() vba compatible, use
Option VBASupport 1
Sub Main
msgbox my_function()
End Sub
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>