Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CHRTRAN and remove characters
Message
De
13/10/2004 03:16:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00950654
Message ID:
00950945
Vues:
21
>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).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform