Skip to content

Skip first n elements of an array

You can skip the first n elements of array. Though, note that you have to specify the index of the last element to exlcude in a “arrays-start-at-1” manner. And yes, this is not a joke. This also works for strings:

[sc name=”src” url=”https://stackoverflow.com/questions/11806559/removing-first-x-characters-from-string” ]

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.