title: In Delphi 7, how do I escape a percent sign (%) in the Format function?
body: <p>I want to do something like this:</p>
  
  <pre><code>SQL.Text := Format('select foo from bar where baz like ''%s%''',[SearchTerm]);
  </code></pre>
  
  <p>But Format doesn't like that last '%', of course. So how can I escape it? <code>\%</code>? <code>%%</code>? </p>
  
  <p>Or do I have to do this:</p>
  
  <pre><code>SQL.Text := Format('select foo from bar where baz like ''%s''',[SearchTerm+'%']);
  </code></pre>
  
  <p>?</p>