I have an html Address line like this:
Addressline1<br>Addressline2<br>...
How can I split them into an array ?
I have used this code but it only returns some characters
Dim addressLine As String() = "Address1<br>Address2<br>".Split(New String() {"<br>"}, StringSplitOptions.RemoveEmptyEntries)
For index As Integer = 0 To addressLine.Count - 1
Dim address As String = "Address" + (index + 1).ToString()
Console.WriteLine(address(index))
Next
Your split works, but your loop makes no sense (not sure what you were trying to do with this). If you fix this, it will output the correct values: