Método String.Split do VB.NET?
Estou tendo alguns problemas usando o método String.Split, exemplo aqui:
Dim tstString As String = "something here -:- URLhere"
Dim newtstString = tstString.Split(" -:- ")
MessageBox.Show(newtstString(0))
MessageBox.Show(newtstString(1))
Acima, no PHP (minha língua nativa!) Retornaria algo aqui E URLaqui nas caixas de mensage
No VB.NET eu recebo:
something here
: (colon)
O String.Split funciona apenas com caracteres padrão? Não consigo entender isso. Tenho certeza de que é algo muito simples!