Hi, I'm having trouble with isNumeric(). At first, I thought isNumeric() checks whether its argument contains any non-numeric characters excluding '.' and '-'. As I experimented with that function, however, it seems that it only checks whether the argument can be treated as a number or not. Thus, all of these strings will cause isNumeric() to return a true value:
" 8 " "16d" "128f" "32e256" Can you guys please point me to resources on how to check whether a string contains any non-numeric characters? I'm planning to use regular expressions, but I suspect there's an easier way to do it. Cheers, [ simon.cpu ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1174 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
