I'm curious if there's a way to shrink an array to fit.
For example I have an array that I will be adding text into and then removing it after I process it. So when it's processed then I will remove that item from the array (starting from the bottom). Therefore I may have an array that starts at 5 and ends at 20.
I'm curious to know if there's a way to shrink the array with all the data in it down to an array that starts at 0 and ends at 14.
I know it can be done by copying the array over line by line with a loop, but I wasn't sure if there was a better way to do this.