i have this following text
i expect to get Length of 5 , but i got Length of 3
why the empty ~ doesn't count in the parser ?
B4X:
dim data as string = "Marten~Samuel~~~Martha~"
dim parser() As String
parser = Regex.Split("\~", data)
i expect to get Length of 5 , but i got Length of 3
why the empty ~ doesn't count in the parser ?