Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decomposing a field separated by comma
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01524156
Message ID:
01524158
Views:
123
This message has been marked as the solution to the initial question of the thread.
>Hi
>
>How can I get a field as:
>
>DISK1, PT2, KL9...
>
>And decompose it in separate variable, for inserting its values, say, in new records of another table,
>as below:
>
>
>DISK1
>PT2
>KL9...
>
>
>Moises

for x=1 to getwordcount(lcString,",")
GetWordNum(lcString,x,",")
endfor

or

Alines(laLine,lcExpression,0,",")
Brandon Harker
Sebae Data Solutions
Previous
Reply
Map
View

Click here to load this message in the networking platform