vendredi 24 juin 2016

Regex Possible Issue

Hi There

I believe that regex.split has an issue

try this

Code:
  [INDENT]Dim ScannedText As String = "ABC|DEF|GHI"[/INDENT]
'Doesn't work
Dim ScanComponents() As String = Regex.Split("|", ScannedText )

ScannedText = ScannedText.Replace(
"|",";")
'work's
Dim ScanComponents() As String = Regex.Split(";", ScannedText )


from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/28SxA6P
via IFTTT

Aucun commentaire:

Enregistrer un commentaire