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.comICQ #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.