title: Using str_replace with smarty variable
body: <p>Basically I just want to strip out a part of my smarty variable contents.</p>
  
  <pre><code>{foreach from=$_sequences key=k item=v}
  
  {if $v.pri == $smarty.get.cf &amp;&amp; $v.type == 'TTS'}
  
  {$v.data}
  
  {/if}
  
  {/foreach}
  </code></pre>
  
  <p><code>{$v.data}</code> will echo out 21,5555555555</p>
  
  <p>I want it to only echo out 5555555555. I tried <code>str_replace</code> but couldn't get it working..</p>
  
  <pre><code>str_replace('"','',${v.data});//   - doesn't work
  
  str_replace('"','',$v.data);// - doesn't work
  </code></pre>
  
  <p>What would be the best way I can accomplish this?</p>