[!--quoteo(post=367944:date=Apr 24 2006, 12:30 PM:name=wisewood)--][div class=\'quotetop\']QUOTE(wisewood @ Apr 24 2006, 12:30 PM) [snapback]367944[/snapback][/div][div class=\'quotemain\'][!--quotec--] Run this code as is, and you'll see what it does. Any more help you might need, just yell. [code] <?php $needle = "£"; $string = "If it costs £252.62 to buy something that should cost £300.00, you've bagged yourself a bargain and got it for £47.38 cheaper than it should have been."; echo "<b>Original String:</b><br>$string<br><br>"; $number_of_occurances = substr_count("$string", "$needle"); echo "$needle appears $number_of_occurances times.<br><br>"; $count = 0; while ($count<$number_of_occurances) { $string = substr($string, strpos("$string", "$needle")+1); echo "$string<br><br>"; $count++; } ?> [/code] [/quote] Thanks a lot...the code is great!!!!