jspicher on 10/09/09
Last Edited at 10/09/09 04:42pm
function string_to_number($string){ $string = preg_replace('/[\'"]/', '', $string); $string = preg_replace('/[^0-9]+/', '', $string); $string = trim($string, ''); $string = strtolower($string); return $string;}
Report this snippet Tweet
Comment:
You need to login to post a comment.