The IDE tells me that my syntax is wrong

 Dim uString As String ="SomeString"
 Dim myDelims() As String = New String() {  uSplitBy  })
 Dim sVec() As String = s.Split(myDelims, StringSplitOptions.None)

I don't see where I went wrong. Does anybody see it? Thak you!

有帮助吗?

解决方案

You have an unnecessary ) at the end of the second line.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top