Android Question REGEX - Determine number of elements

fatman

Active Member
Licensed User
Longtime User
Hi Folks,

I have this bit of code which works fine:

Dim components() As String
components = Regex.Split("\.",Parts)

If I don´t know the number of elements in the variable "Parts" - how can I determine the number/size of the array components() ?

Any hints are welcome.

Fatman
 

DonManfred

Expert
Licensed User
Longtime User
B4X:
log(components.Length)
 
Upvote 0
Top