Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking For Similar VB Function in VFP6
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00732795
Message ID:
00733101
Views:
16
David,

I know about that but I prefer to use new line combination CHR(13)+CHR(10) everywhere in my code so I don't have to remember where alone CHR(13) works and where it doesn't.

>Sergey,
>
>FWIW, chr(13) is enough to get alines() to parse it apart.
>
>
ALINES(laArray, STRTRAN(lc,";", CHR(13)))
>
>>It's right function and it has third parameter in VFP7. In VFP6 you have to convert your delimiter into new line code.
lc = "Primero;Segundo;Tercero;Cuarto;Quinto"
>>
>>ALINES(laArray, STRTRAN(lc,";", CHR(13)+CHR(10)))
>>FOR EACH lcPalabra IN laArray
>>  ?lcPalabra
>>ENDFOR
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform