How remove first item of array

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

I have this code:

Dim elementi() As String = Split(book, "pages")


I have to do remove first item from array elementi ... any help? Thanks
 
Tony said:
Dim elementi() As String = Split(book, "pages")


I have to do remove first item from array elementi ... any help? Thanks

\\\
Dim Parts() As String = Split("bla foo goo", " ")
Dim Copy(Parts.Length - 2) As String
Array.Copy(Parts, 1, Copy, 0, Copy.Length)
Parts = Copy
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top