Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CHRTRAN and remove characters
Message
From
12/10/2004 14:19:30
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, United States
 
 
To
12/10/2004 13:18:28
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00950654
Message ID:
00950779
Views:
17
>>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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform