H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Sep 7, 2018 #1 Hi Why this code not work! B4X: dim s() as string=regex.split("$","b$4$x") for i=0 to s.length-1 '''not working next
Hi Why this code not work! B4X: dim s() as string=regex.split("$","b$4$x") for i=0 to s.length-1 '''not working next
DonManfred Expert Licensed User Longtime User Sep 7, 2018 #2 $ is a special char which needs to be escaped. B4X: Dim s() As String=Regex.split("\$","b$4$x") For i=0 To s.length-1 ' works Log(s(i)) Next Upvote 0
$ is a special char which needs to be escaped. B4X: Dim s() As String=Regex.split("\$","b$4$x") For i=0 To s.length-1 ' works Log(s(i)) Next