Hi all!
I have this code:
Dim StringParts As New List(Of String)(OriginalString.Split(New Char() {"\"c}, StringSplitOptions.RemoveEmptyEntries))
When run, StringParts always have one element, because StringSplitOptions.RemoveEmptyEntries = 1
.
How can I tell VB.Net to use the right function, and not understand StringSplitOptions.RemoveEmptyEntries
as a count
parameter?
Thanks!
Note: Using New String() {"\"}
instead of New Char() {"\"c}
works. Is this a .Net
bug?