what's wrong with list?

icefairy333

Active Member
Licensed User
Longtime User
B4X:
Dim sList As List
   Dim su As StringUtils
 Try 
 sList=su.LoadCSV("",sCsvpath,",")
 Catch
    sList.Initialize
    Msgbox("Read:"&sCsvpath &"File error!","error")
    Return
 End Try
Dim line() As String
 For i=0 To sList.Size-1
    
    Log(sList.Get(i))
    line = Regex.Split(",",sList.Get(i))
    Log(line(0))
 Next
the log is:
B4X:
[Ljava.lang.String;@40553870


 [Ljava.lang.String;@40553870


 [Ljava.lang.String;@40553908


 [Ljava.lang.String;@40553908


 [Ljava.lang.String;@405aaa48


 [Ljava.lang.String;@405aaa48


 [Ljava.lang.String;@405aaba0


 [Ljava.lang.String;@405aaba0


 [Ljava.lang.String;@4059b148
why it didn't show any string?:signOops:
 
Top