in reply to Re^2: Can't remove the the duplicate element when it's the last one in the arrayin thread Can't remove the the duplicate element when it's the last one in the array