0
I have the following code to perform the method Split
on a path:
Dim ItemsCopy As Integer = 0
Dim Caminho As String = ContarItems(I)
Dim SplitCam As String() = Regex.Split(Caminho.ToString, "=")
For Each S As String In SplitCam
Vizualizador.ListBox1.Items.Add(S)
Next
Where has the ContarItems(I)
is a array I put it on top just to save the URL, but it’s the following I have a URL
Exemplo: Victor\junior\Documentos\=Pasta\Teste\arquivo.teste
When I use the method it cuts straight and adds in listbox
, but I wanted him to only put the second part in the case Pasta\Teste\arquivo.teste
He puts the first and the second, and I don’t want that first part.
Looks like you’re doing something wrong.
– Tony
Take a look at [tour]. You can accept an answer if it solved your problem. You can vote on every post on the site as well. Did any help you more? You need something to be improved?
– Maniero