You're welcome.
>That did the trick, Sergey. Right on target! Thanks a bunch Sir!
>
>Cecil
>
>>>It could be a CHR(0). What would that produce?
>
>>ALLTRIM() will not strip CHR(0) by default but you can tell it to do so
>
>lcImageName = ALLTRIM(lcImageName, 0, CHR(0), SPACE(1))
>
--sb--