<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Third argument to MID() should be optional for better Basic compatibility"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=135934">135934</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Third argument to MID() should be optional for better Basic compatibility
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.4.5.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Calc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>roy-orbison@devo.net.au
</td>
</tr></table>
<p>
<div>
<pre>I have read
<a href="http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part2.html#MID">http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part2.html#MID</a>
and
<a href="https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/mid-function">https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/mid-function</a>
As far as I know, MS's version has always supported the third argument being
optional. This is very useful for getting the remainder of a string without
limit, especially in combination with other functions to remove prefixes. When
the argument is omitted, it is calculated as `Length = 1 + LEN(Text) - Start`.
Since it's required in LibreOffice, making it optional should be a
backwards-compatible change.</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>