Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching not the same words
Message
De
14/02/2005 09:06:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00986592
Message ID:
00986603
Vues:
30
>thanks
>himar,
>acctulay i collect the not name words from string and want replace in other table, i thing occures() only count the word how many times are present in a string( am i true)
>thanks
>khubaib

Well, occurs() can help you find the duplicates. To actually get rid of the duplicate words would require more work.

For instance, the function at() can tell you where a substring starts - at what position. Then you might extract parts of the string with left() and substr().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform