I have an Array of objects.
Filter[] filter = [{a:1,b:2},{c,3,d:4}]
I want to take out specific object suppose {a:1,b:2}
to other object
then store in rsFilter = {a:1,b:2}
and remove {a:1,b:2} from array
I tried hard. I am not able to get proper logic.