Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace string with another string
Message
De
21/12/2004 05:48:51
 
 
À
21/12/2004 05:34:45
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:
00970905
Vues:
14
>Dear Sir,
>
>I have a string as
>
>Global Traders (pvt) Ltd.
>
>I want to replace it with
>
>Global Traders (Pvt) Ltd. && word Pvt must in proper case
>
>When I apply proper(), it does not work due to brackets.
>
>
>Please help

If its always (pvt) that you want to convert to (Pvt) then use:
STRTRAN( YourString, "(pvt)", "(Pvt)" )
Check the help on STRTRAN().
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform