B4J Question LoadCSV

Orejana

Member
Hi everyone.
I'm saving dates and temperatures into a CSV-file, which works perfectly. (Format: 12.08.2018, 25.5)
Now I'm trying to call my data (line by line, I want to add the data to a graph). In the end, I need a String for the date and a float for the temperature.
It only returns stuff like "[Ljava.lang.String;@3df721c5", and as far as I can gather that is because the lines are returned as a List and not as a String? How can I fix that and get the data in the format I need?
Thanks for any help :)

B4X:
     If File.Exists(File.DirApp, "temp_max.csv") Then table_max=su.LoadCSV(File.DirApp, "temp_max.csv", ",")
    If table_max.Size > 7 Then
       For i=1 To 7
           Dim v As Float
           t=table_max.Get(table_max.Size-i)
           Log(t)
           s=t.SubString2(0,10)
           u=t.SubString(11)
           Log(s)
           Log(u)
           v=u
           Series3.Add(s,v)
       Next
   End If
 
Top