Let's say I have a
I'm adding some data into this Array, using
Let's say I've added 10 Strings into this array. The size of the array is 10 now.
How do i destroy all elements in the array? The
function just set's all 10 elements to null. So when I try to add another element, it just get's on the 11 position. I want just to start it over from 0;
I can use a for loop to replace all the data, but I really think there is a way just to empty the
. Is it?