title: Stripping quotation marks in Pascal/Inno Setup
body: <p>I have a string, <code>"c:\windows\unins000.exe"</code>, that I need to turn into, <code>c:\windows\unins000.exe</code>. It would be easy enough to do in another language, but I need to do it in Inno Setup/Pascal.</p>
  
  <p>The problem I'm having is that I get an "invalid directory" error when I run</p>
  
  <pre><code>Exec(UninstallString, '/SILENT', '', SW_SHOW, ewWaitUntilTerminated, ResultCode)
  </code></pre>
  
  <p>with the above string, and it appears that it's <a href="https://stackoverflow.com/questions/19213376/inno-setup-exec-cant-read-string">the quotation marks that are causing the problem</a>.</p>
  
  <p>I can't even find an example of ANY string functions in Pascal or Inno Setup! :-/</p>