Hi Ron,
I'm glad it worked for you.
>thanks! I always get great answers from you!
>I did implemented it into a function because the string may be null.
>>
>>You can do that w/o finction.
? TRANSFORM(PADL(cNumber,16), "@R X XXX XXX XXX XXX XXX")
>>
--sb--