Split appears to behave incorrectly
Dim strVersion As String
Dim lstVersions As List
strVersion = "1,0,0a"
lstVersions = Regex.Split(",",strVersion) 'list items seperated by comma.
Log("Split version: " & strVersion) 'show original string
Log(lstVersions) 'show list contents
output:
(ArrayList) [1, 0, 0a]
The above works fine. However when I use a dot for the seperating text the list isn't filled. Like below.
Dim strVersion As String
Dim lstVersions As List
strVersion = "1.0.0a"
lstVersions = Regex.Split(".",strVersion) 'list items seperated by dot.
Log("Split version: " & strVersion) 'show original string
Log(lstVersions) 'show list contents - LIST IS EMPTY?
output:
(ArrayList) []
Thanks in advance!