Is there any way to start at an index other than zero when using a for each loop in vb?
I received an error “Input string was not in correct format” when trying:
For Each segment As String in p
If not p(0) Then
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use LINQ’s Enumerable.Skip method to reduce your list before iterating over it: