Interesting how close the subject is to Jooel's UDF name. Have to wonder what key words you searched on.

BTW, I like his UDF better than mine.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.