Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for a function similar to VB's Split
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00551452
Message ID:
00551457
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

alines(MyArray, strtran(MyString,DelimiterCharacter,chr(13)+chr(10)))

In VFP7 alines have also additinal parameters that allow to get rid of STRTRAN in this expression and thus speed up the process.

HTH.

>Hi All,
>
>Anyone know if there is function here somewhere that works like VB's Split function?
>
>You pass it a string and a delimiter, and it returns an array with each portion of the string split into an element of the array.
>
>TIA
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform