我有一个像这样的 html 地址行:
Addressline1<br>Addressline2<br>...
如何将它们拆分为数组?
我已经使用了这段代码,但它只返回一些字符
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