<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 - Document how to escape double quotes in text functions"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113976">113976</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Document how to escape double quotes in text functions
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>Documentation
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ddascalescu+freedesktop@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>olivier.hallot@documentfoundation.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I'm trying to SUBSTITUTE '"foo"' (including the double quotes) with "bar", but
I can't find out how to escape the double quotes.

<a href="https://help.libreoffice.org/Calc/Text_Functions#SUBSTITUTE">https://help.libreoffice.org/Calc/Text_Functions#SUBSTITUTE</a> isn't helpful.

Steps to Reproduce:
=SUBSTITUTE(A1, "\"foo\"", "bar")

Actual Results:  
Err:508

Expected Results:
A1 with '"foo"' replaced by "bar".


Reproducible: Always


User Profile Reset: No



Additional Info:
Quoting the search text using single quotes doesn't work.


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/62.0.3202.89 Safari/537.36</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>