Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kyleabaker
Visitor

Read file contents in as string?

Is it possible to read the contents of a file and store them in a string?

I have a list.txt file store on a usb device (ext1:/) that I'd like to read in and store all of the content in a single string, but the brightscript ReadFile function doesn't seem to be supported and I don't see what I'm looking for under roFileSystem.

Any suggestions?
0 Kudos
1 REPLY 1
RokuChris
Roku Employee
Roku Employee

Re: Read file contents in as string?

0 Kudos