Android Question String (comma delimited) to Array

Carthalion

Member
Licensed User
Longtime User
Numbers.txt is a text file containing "1, 2, 3"

I can download and save this file using TextReader.

NumString = File.ReadString(File.DirRootExternal, "Numbers.txt")
Label1.Text = NumString


This does put each number in the label. From there, I want to save each item in the file as an individual value. Preferably as an array.

I have tried File.ReadList and it only works when a file was created as a List. This does not work. Any ideas for this?

Thanks,

Carthalion
 
Top