Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to separate an variable
Message
De
20/11/2017 08:27:04
 
 
À
18/11/2017 16:20:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
01655668
Message ID:
01655712
Vues:
48
>can use getwordcount and getwordnum to retrieve the words wanted.i give you the result in a cursor.
>
>create cursor ycurs (xword c(20))
>local m.partno,m.xw
>m.partno='abc defg hijkl'
>for i=1 to getwordcount(m.partno)
>m.xw=getwordnum(m.partno,i)
>if ! empty(m.xw)
>insert into ycurs values ( m.xw)
>endi
>endfor
>
>brow
>
ALINES() is much, much faster if the string is at all long. I wrote about all this here: http://www.tomorrowssolutionsllc.com/Articles/Breaking%20Up%20is%20Not%20Hard%20to%20Do.pdf

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform