S
Sunny
Hi, Can someone tell me, How to redefine array or make array empty or
null.
Here what I am trying to do.
var temp = new Array();
for(i=0; i <=outstring.length-1; i++) {
temp = outstring.split(',');
}
Once the for loop will finish doing it, I want temp array to be null
or blank.
How Can I do that?
I tried doing temp.length =0 but that didn't work.
null.
Here what I am trying to do.
var temp = new Array();
for(i=0; i <=outstring.length-1; i++) {
temp = outstring.split(',');
}
Once the for loop will finish doing it, I want temp array to be null
or blank.
How Can I do that?
I tried doing temp.length =0 but that didn't work.