Hi, I would like ask for you help for coding array operation.
array= ( a b c d e f )
I would like to remove entry "d" from my array and import the remaining entries back to the array.
Thanks.
Hi, I would like ask for you help for coding array operation.
array= ( a b c d e f )
I would like to remove entry "d" from my array and import the remaining entries back to the array.
Thanks.
What language, bash? Just unset it...
bash-3.00$ array=(a b c d e f)
bash-3.00$ echo ${array[*]}
a b c d e f
bash-3.00$ unset array[3]
bash-3.00$ echo ${array[*]}
a b c e f
bash-3.00$
Thank you all.