[Tutor] extracting elements in a sequence

Tim Johnson tim@johnsons-web.com
Sun Feb 9 12:29:02 2003


Hello All:
    Is there a builtin way to extract elements in a series
as in 
test = [1,'one',2,'two',3,'three']
extract(test,2)
= [1,2,3]
or extract(test,3)
= [1,'two']
If so, pointers to documentation would be appreciated. 
-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com
      http://www.johnsons-web.com