Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace string with another string
Message
De
22/12/2004 13:48:23
 
 
À
21/12/2004 23:09:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00970903
Message ID:
00971538
Vues:
18
If you're just targeting the substring Eric, you can REPLACE ALL Names WITH STRTRAN(Names, "Eric", "ERIC"), however be aware that would also affect something like "Erica", because it is simply a substring operation, not based on whole words.

-- Randy

>I have a dbf that has a field entitled "names"
>
>Data in this field is as
>
>Eric Den Doop
>Jos Pols
>Gomez Eric
>Terry Mcdonnel Eric
>
>In this field I want to replace "Eric" with "ERIC" && proper case to uppercase
>
>How should I do this?
>
>Please help again
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform