I am trying make some changes in a php code -
Below line
<meta itemprop="price" content="<?php echo $special; ?>"/>
shows up like this in HTML
<meta itemprop="price" content="£32.12"/>
I need to remove this Pound("£") sign from the output. How can I use replace function in this code or there is some other way to do it.
Can someone advise?
str_replaceit?str_replace( '£', '', $special )