Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove French accents
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01212164
Message ID:
01212190
Vues:
15
Hi Raymond!

I don't know about a function, but maybe you can mae it with some functions. Something like this could work, bout maybe it's a little slow:
Select 1 && The area of my table
scan
   mystring = ""
   x = len(rtrim(mytable.mifield))
   for mycicle = 1 to x
      a = substr(mytable.myfield,x,1)
      do case
         case a = "Accent"
            a = "Without accent"
         case a = "Accent"
            a = "Without accent"
         case a = "Accent"
            a = "Without accent"
      endcase
      mystring = mystring + a
   next mycicle
   replace mytable.myfield with mystring
endscan
Hope can help you!
By two common phrases in his vocabulary, we know Hercule Poirot was a great Developer: his use of "the little grey cells" and "order and method".
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform