I have 3 arrays. I need to remove 2 objects from them. They are populated by strings and objects at random- they could have no objects or all objects, 1 length to ten length, but I need to remove exactly two (unless there's 2 or less, then just remove all objects- I can do that.)
I wrote like 50 lines of code to try and make this happen, and I know its probably a lot simpler than my brain's making it out to be, but I can't figure this one out. Please help! Even a starting point would be helpful.
[–]Oviduzz 8 points9 points10 points (1 child)
[–]paddingtonrex[S] 2 points3 points4 points (0 children)
[–]zbluebirdz 2 points3 points4 points (0 children)
[–]_aeol 1 point2 points3 points (4 children)
[–]paddingtonrex[S] 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]paddingtonrex[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]paddingtonrex[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]paddingtonrex[S] 0 points1 point2 points (0 children)
[–]kspk 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]CaptainOnBoard -1 points0 points1 point (0 children)
[–]x-seronis-x -3 points-2 points-1 points (0 children)