title: Standard URL encode function?
body: <p>Is there a Delphi equivalent of this .net's method:</p>
  
  <pre>Url.UrlEncode()</pre>
  
  <p><strong>Note</strong><br>
  I haven't worked with Delphi for several years now.
  As I read through the answers I notice that there are several remarks and alternatives to the currently marked answer. I haven't had the opportunity to test them so I'm basing my answer on the most upvoted.<br>
  For your own sake, do check later answers and after deciding upvote the best answer so everybody can benefit from your experience.</p>