anybody know that how to convert the $100 to ONE HUNDRED?
thank you
Parse the string to check what is composed of......
http://pear.php.net/package/Numbers_Words
that's a really cool package.
Or there is baa2words class
No need for a sledge hammer when a fly swatter will do:
<?php $string = '$100'; ereg("[0-9]+",$string,$args); print $args[0]; ?>