Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CSVtoArray
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00596910
Message ID:
00596915
Views:
36
>Anyone have a routine built that will convert a string of comma seperated values to a 1 dimensional array, each value being it's own element? Thanks,
>jfh
lcStr = "One, Two, Three"
DIMENSION laArray[1]
= ALINES( laArray, STRTRAN(lcStr, ",", CHR(13)))
* in VFP 7
= ALINES( laArray, lcStr, ",")
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform