How can i get say the first bit of the text file into the listview eg AB15 without the quotes.???
I believe i use something called Regex.Split
I believe i use something called Regex.Split
B4X:
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("csv_listview")
Dim Reader As TextReader
Reader.Initialize(File.OpenInput(File.DirAssets, "pc.csv"))
Dim line As String
line = Reader.ReadLine
Do While line <> Null
line = Reader.ReadLine
ListView1.AddSingleLine(line)
Loop
End Sub