tags:

views:

34

answers:

1

how do i remove the contents of an array element such that if

hello(0) = "hello"
hello(1) = "hello123"
hello(2) = "hello123123"

i want the result to be

hello(0)="hello123"
hello(1) = "hello123123"
+2  A: 

You need to create a new array that's one element smaller than your source array, and copy the contents of the source array (excluding the first element) into the new array.

Adam Maras