vslice

Definition: sequence res = vslice(sequence source, integer column)
Description: Return the specified column of every element of source.
Comments: This is sometimes also known as a vertical slice, although that is not entirely correct since you can only extract a single column, so 'vertical subscript' might have been better, but in that case this routine would probably have been named 'vsubscript'.
Example:
sequence s = {{5,1},
              {5,2},
              {5,3}}
?vslice(s,2) -- prints {1,2,3}
?vslice(s,1) -- prints {5,5,5}
See Also: columnize