title: How can I put variables in a string that is a URL address?
body: <p>Basically I have a http address that I would like to change with {0} within the string from a variable. Is there a key I can quickly use to do this? thanks</p>
  
  <p>my code is</p>
  
  <pre><code>string ticker;
  string url=("http://localhost:8080/SetOutput?symbol={0}&amp;feedtype=breath&amp;output={ sigma}&amp;status=on", ticker);
  </code></pre>
  
  <p>Update: Understand this has been answered before. Figured as my string "ticker" was the same color code as the rest of the string URL, it wasn't being recognized as a variable.</p>