I researched on google, and I found ways to exclude a bunch of characters, such as A-Z, but no luck as to what I need. 2 things:
If I have a set varchar, such as
$100,000
How can I make it exclude the $ and the , so I could do
$cost = '$100,000';
$pricepaid = '$90,000';
if ($pricepaid < $cost)
And also, I need to get the surname of some files that i'm uploading.. such as
flashfile.swf
so how can I exclude the "flashfile." and just leave the swf?