I always figured that Split() without the second parm should do that but RUud did not agree with me.

You could save a few golf strokes by using $X in the Dim rather than using Len() twice.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.