Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace string with another string
Message
De
21/12/2004 06:18:52
 
 
À
21/12/2004 06:12:19
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:
00970914
Vues:
9
I think he has a database and needs to "proper" the names within it and hence is looking for a proper() or strtran() type solution :)


>Yeah
>
>I was thinking that myself - if it's going to be hard-coded, why bother - but I assume the "pvt" could be any TLA (three-letter acronym < g >), e.g.
>
>
>lcString = "Global Traders (" + Proper( lcCoAbbrev) + ") Ltd."
>
>
>>Well in that case I prefer;
>>
>>
>>lcString = "Global Traders (Pvt) Ltd."
>>
>>
>><g>
>>
>>
>>
>>>Tariq
>>>
>>>Try:
>>>
>>>lcString = "Global Traders (" + Proper( Pvt) + ") Ltd."
>>>
>>>
>>>Terry
>>>>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
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform