>Thank you
>I didn't now the difference between STRTRAN and CHRTRAN :)
StrTran() is the most similar to a "Find & Replace" command in Word. ChrTran() is a little more complicated, but it has its uses too. It may be used to quickly replace several individual characters at once. For example, the following ChrTran() will eliminate most diacriticals (accents, etc.) in Spanish:
chrtran(lcText, "áéíóúÁÉÍÓÚñÑüÜ", "aeiouAEIOUnNuU")
Each occurrence of "á" will be replaced with "a", each occurance of "é" with "e", etc.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)