Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Case insensitive strtran()
Message
De
26/04/2001 13:56:35
 
 
À
25/04/2001 14:40:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00499747
Message ID:
00500271
Vues:
54
>>Hi All,
>>
>>Has anyone written a case insensitive STRTRAN() replacement.
>>
>>NO, I can't just use VFP 7!
>>
>>BOb
>
>What are you trying to do? That is, what do you want to be case insensitive? I assume you are not trying to do:
>
>to replace all chars A or a in a string with '-'
>
>cA = "AabCd"
>? STRTRAN(UPPER(cA),"A","-")
>
>So what are you tring to do?
>
>-Arne

Arne,

The problem with doing this is that the resultant string is now all uppercase. Since I am sealing with a SLQ SErver query here, and with binary server object names are case sensitive, so that would break the query.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform