Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getwordnum working wrong
Message
De
08/02/2006 09:43:18
 
 
À
08/02/2006 09:31:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01094614
Message ID:
01094626
Vues:
7
Hello Viv,
Its realy LIST OF DELIMITERS!!! Realy did not know that...I always using 1 char delimiter.. and today just try to use complex delimiter and thought it will accepted function as ONE COMPLEX DELIMITER.. ;)
Thanks for answer

>The second parameter is a list of delimiters.
>You are specifying the " ","A","N" and "D" should all be treated as being as word breaks. So HP% and RUCKER are two words seperated by "D"
>
>
>>Hello,
>>Here is little example
>>
>>lc_sele = "HP%DRUCKER AND (PRICE>100,00) AND (PRICE<200,00)"
>>?GETWORDCOUNT(lc_sele," AND ")    && return 4
>>?GETWORDNUM(lc_sele,1," AND ")     && return HP%
>>?GETWORDNUM(lc_sele,2," AND ")     && return RUCKER
>>?GETWORDNUM(lc_sele,3," AND ")     && return (PRICE>100,00)
>>?GETWORDNUM(lc_sele,4," AND ")     && return (PRICE<200,00)
>>
>>
>>Why? 1-2?
>>
>>Denis
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform