Split text

parijs

Active Member
Licensed User
Longtime User
Hi
I split text form a db with this code

Dim data As String
data = "Pere Lachaise metro 2 en 3,Philippe Auguste metro 2"
Dim numbers() As String
numbers = Regex.Split("[,\s]+", data)
Dim l As List
l.Initialize2(numbers)

But it don't spit on the "," so i get
Pere
Lachaise
metro

How can I solf this problem ?
 

parijs

Active Member
Licensed User
Longtime User
Very good Gentleman, and really fast.
You both go through for the fridge

Life is good with B4A and men like you
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…