2017-07-04 11:29 GMT-04:30 Fernando Cabral :
> Well, I found a very easy way to do it:
>
>
> *Dim Wordlist as string []*
>
> *Wordlist = Split(File.Load("strings.txt"), "\n")*
> It seems it can't be easier, can it?
>
wow, very easy.. good made it
>
>
>
>
> 2017-07-04 12:06 GMT-03:00 Fernando Cab
Well, I found a very easy way to do it:
*Dim Wordlist as string []*
*Wordlist = Split(File.Load("strings.txt"), "\n")*
It seems it can't be easier, can it?
2017-07-04 12:06 GMT-03:00 Fernando Cabral :
> Is there a straightforward way to read a file directly into an array?
> Say I have a fil
Is there a straightforward way to read a file directly into an array?
Say I have a file with several lines (lines ended with "\n").
I want to read each line and push its content as an item of an array.
Lets say the file contents are "a\nb\nc\n" and what I need is:
word[0] = "a"
word[1] = "b"
word