You are welcome. I think Sergey has the correct solution to this problem (he usually has the correct solution<s>).
Einar
>The user may put in numeric,character or both. I've already written the code using the substr() command but I'm only curious if there is no easier way.
>Thanks for the reply.
Semper ubi sub ubi.