What is the easiest way to read and assign each individual word of an ascii text file (with line breaks) as an element of a string array?
ie: FILE.TXT
NOW IS
THE TIME FOR
ALL GOOD MEN…
becomes:
s$(1)="NOW"
s$(2)="IS"
s$(3)="THE"
S$(4)="TIME"
…
Thank you in advance.
-jay
ie: FILE.TXT
NOW IS
THE TIME FOR
ALL GOOD MEN…
becomes:
s$(1)="NOW"
s$(2)="IS"
s$(3)="THE"
S$(4)="TIME"
…
Thank you in advance.
-jay
Comment