Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CHRTRAN and remove characters
Message
From
13/10/2004 03:16:01
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00950654
Message ID:
00950945
Views:
20
>Fabio,
>
>Reference this article I posted back in 1999 about this issue. http://fox.wikis.com/wc.dll?Wiki~CHRTRAN
>
>Strtran() does not suffer from the performance problem, and if you are removing several characters multiple strtran() calls are still faster than chrtran. There is an O(n) algorithm for character removal over on my website in the DeQuote C++ sample.
>
>>The implementation of CHRTRAN() it is not made in order to remove characters.
>>Some hope in VFP9SP1.

2004-1999 = 5 years, where is VFPT ???

Why this is not write into the Help Doc ?

A simple optimization is that of do the substituytion right to left,
this is not the best possible, but it can reduce the k on O(k*n*n).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform