Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CHRTRAN and remove characters
Message
De
12/10/2004 14:19:30
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, États-Unis
 
 
À
12/10/2004 13:18:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00950654
Message ID:
00950779
Vues:
18
>>actually, you CAN use chrtranto remove characters...
>>
>>lcTestString = "ABCDEF"
>>? chrtran( lcTestString, "BDF", "" )
>>
>>you will get
>>ACE
>
>Are you sure ?
>lcTestString = replicate("ABCDEF",1000000)
>? chrtran( lcTestString, "BDF", "" )
Yes, it works just fine. However, I don't know too many people who work with 6M strings in memory... a little clumsy.
lcTestString = replicate("ABCDEF",5)
? chrtran( lcTestString, "BDF", "" )
gives you ACEACEACEACEACE
John White [MOST]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform