If you use Regex.Split(",",someString) the usual way is
Which is fine if you want all the items, but let's assume you only want the third item
you would use
You can shortcut all the above code into
or
B4X:
Dim s() As String = Regex.Split(",",someString)
Which is fine if you want all the items, but let's assume you only want the third item
you would use
B4X:
Log("Third Item : " & s(2))
You can shortcut all the above code into
B4X:
Log("Third Item : " & Regex.Split(",",someString)(2))
B4X:
Dim s As String = Regex.Split(",",someString)(2)