>>Is Word2, above, the second word? Counting the separators (the three spaces), it would be the fourth. Depending on how you want to handle this, you may need additional adjustments. Repeatedly replacing a double space with a single space will get rid of unwanted spaces. See strtran().
>
>Thank you, Himar,
>
>I will keep that in mind.
>
>Dawa
Rather than that, why not load FoxTools.fll and use the Reduce(SearchString, [WhatToReplace]) function? If you just pass the SearchString parameter it will remove extra spaces.
Dana
Where's the damned Any Key?...too late