Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extract a Word
Message
De
11/07/2001 15:09:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
11/07/2001 14:01:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00529297
Message ID:
00529369
Vues:
12
It just occured to me that apart from loading Foxtools, I can also use memlines() and mline(); I only have to replace first.

Hilmar.

>Is there a quick way to extract a "Word" from a string? I thought there were functions similar to WordCount() and WordNum(), but I can't find them.
>
>The idea is to do something like this:
>
>
>MyString = "Option 1;Option 2;Option3"
>for i = 1 to WordCount(MyString, ",")
>  ? WordNum(MyString, i, ",")
>next
>
>
>Regards, Hilmar.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform