You could use a regex to test for appropriate key names. Or you could do some testing with my technique (returning an anonymous sub) and change the test to see if the datatype is a number if you take a look at How to identify a number datatype in a string?. It's probably lots simpler just to keep a data structure of appropriate fields guaranteed to hold strings or numbers, though. | [reply] |