Truncate Arrays

I was wondering if anyone knows a way to truncate the initial part of an integers array. I can do that with a for loop that fills a shorter array starting from a specified index of the source array, but it takes ages so there must be another way...

Thanks

Leo

[264 byte] By [Leo13] at [2007-12-16]
# 1
Leo13 wrote:
I was wondering if anyone knows a way to truncate the initial part of an integers array. I can do that with a for loop that fills a shorter array starting from a specified index of the source array, but it takes ages so there must be another way...

Thanks

Leo


Problem solved using


Array.reverse
Array.resize



Thanks

Leo13 at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic General...