>Hi Fred,
>
>on VFP6 this is another (faster) way:
>
>ALINES(aInfo,CHRTRAN(cInfoList,",",CHR(13)))
>
>
>Fabio
On a one-shot conversion of the source string to an array, speed was not an issue here. If you need to do this repeatedly, like in a loop, then speed could certainly become a factor.
I've only used this to intialize arrays from a string at the beginning of code to make the array initialization easier than specifying:
aInfo[1] = ...
aInfo[2] = ...
aInfo[xxx] = ...