Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to separate an variable
Message
From
20/11/2017 08:27:04
 
 
To
18/11/2017 16:20:40
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
01655668
Message ID:
01655712
Views:
57
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform