>Thank you, this is exactly what I wanted.
>
>I have added a parameter in the Encrypt() function when I want to obtain a result without any space, by the use of STRCONV(13). I did the same process in reverse in the Uncrypt() function.
If you only concern with trailing spaces than you could add one fixed character to the end of the encrypted string and remove in in the decryption routine.
--sb--