From: Jack Su Date: 2010-10-18T10:53:57+09:00 Subject: data type for a string value when humans look at a string, they will know whether it is a date, a float, a percentage, or a currency, or simply a string. for example, when you see, 3,232, you will know it is meant to be a number. I wonder if there is easy way in ruby to figure out the data type for a string. I guess I could let the string go through a list of the regular expression -- but if I have a lot of strings to process, it is likely to be costly. any ideas on a good solution. -- Posted via http://www.ruby-forum.com/.