Sub Main()
Dim value As String
value = "PFolder=oPFolder&SFolder=sfolder&oMsg=i"
Dim myFolder As String() = Nothing
Dim msgs(5) As Char
msgs(0) = "="
msgs(1) = "&"
msgs(2) = "="
msgs(3) = "&"
msgs(4) = "="
myFolder = value.Split(msgs, 6)
Dim f As String
For Each f In myFolder
Console.WriteLine(f)
Next f
Console.ReadLine()
End Sub
I wrote this function and I want that for each item of myfolder should not be displayed? Only alternate items means oPFolder,sfolder and i should be displayed? what should I do?