Hello,
Today I wasted some time just for the same question met in javascript. I
don't think there are an existed function to solve it, so I write one by
myself. Hope to give you some help.
Followed code is wrote in javascript, I don't want to rewrite in PHP, so do
yourself.
// begin function
function arr_wipe(arrSrc, from, length){
var len = arrSrc.length;
if (from<0 || from>len || from+length>len) return false;
var newArr = new Array();
var j=0;
for (i=0; i<arrSrc.length; i++){
if (i<from || i>=(from+length)){
newArr[j++]=arrSrc[i];
}
}
return newArr;
}
// end function
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]