General information
Category:
Coding, syntax & commands
>Here is some code to get them all and put them into an array
>
>local lnwct
>lnwct = GETWORDCOUNT(lcstring,',')
>dimension myarray[lnwct]
>for i = 1 to lnwct
> myarray[i] = GETWORDNUM(lcstring,i,',')
>endfor
While a loop like this works, it's much slower than using ALINES(). I tested all this a while back. If I remember correctly, ALINES() is the fastest solution, much faster than the GETWORD functions and somewhat faster than writing your own parsing code.
Tamar
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only