Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CHRTRAN and remove characters
Message
 
 
To
13/10/2004 03:16:01
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00950654
Message ID:
00951055
Views:
17
Fabio,

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

Working on more important things I suppose, especially since strtran() works.

>Why this is not write into the Help Doc ?

I've submitted a doc update request along time ago. Did you?

>A simple optimization is that of do the substituytion right to left,

That is no optimization at all it still ends up moving the exact same number of bytes as doing it left to right.

>this is not the best possible, but it can reduce the k on O(k*n*n).

k on a n2 algorithm is insignificant on the n values that are troublesome for chrtran().

It can be done in O(n) as my code shows.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform