title: Storing single_tag_title in variable
body: <p>In Wordpress, the following will echo the currently chosen tag in an archive listing:</p>
  
  <pre><code>single_tag_title();
  </code></pre>
  
  <p>Does anybody know how to store it in a variable, so that i can echo out the same string using an ordinary php variable like this:</p>
  
  <pre><code>echo $tagSlug; //This shows the same string as the single_tag_title() function
  </code></pre>
  
  <p>I have tried this:</p>
  
  <pre><code>$tagSlug = single_tag_title();
  echo $tagSlug;
  </code></pre>
  
  <p>But it doesn't work.</p>