J's example is better since it returns a value instead of a string. Could do without the trim() part (better golf score) though since Val() does that anyway.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.