Casting String- To Object array only works in B4A, not B4i:
dim sArr() as String = Regex.Split(";", sLine)
dim oArr() as Object = sArr
SQL1.ExecNonQuery2("INSERT INTO MyTable VALUES (?,?,?)", oArr)
For B4i you can use this small help function:
Sub ConvertArray(arr() As String) As Object()
Dim iLen As Int = arr.Length
Dim oArr(iLen) As Object
For i = 0 To iLen - 1
oArr(i) = arr(i)
Next
Return oArr
End Sub
But is this the way to do?