From: Carl Youngblood Date: 2003-12-23T02:41:54+09:00 Subject: Testing contents of string for known types Is there a built-in way to test the contents of a string to try and find a logical type of data that it might contain? For example, say a string contains "4.56". It would be nice to have "4.56".inferred_type => Float "23".inferred_type => Fixnum "george".inferred_type => String Thanks, Carl Youngblood