Question: a part of an array

Hello all!

Consider I have an array like this:

A := [[1,2,3], [2,1,4], [1,2,2], [4,2,3], [1,3,2]];

Now, I want to make a new array from the above one where contains those elements of "A" which their third columns are smaller than "3". (I mean in this example the third and fifth element, but in a big array I can't find these elements as simple as this example.) What should I do?



Please Wait...