Hi PEter
>
>Yep, and this solves two passes, so have the single STRTRAN in a loop ;)
Yes indeed. The only snag with a loop is that you have to know when to exit. It's OK if you know that you only need to deal with double spaces, but otherwise you need to use OCCURS() to see if another iteration is required because STRTRAN() won't tell you if another pass is needed.
----
Regards
Andy Kramek