Question: Seperate data in list

July 07 2010 Christopher2222 3864
Maple

2

How do I split the data up into seperate lists? 

A simple example
a:=[class,23,45,74,34,25,76,class,55,67,78,34,65,12,23,45,64,23,class,12,13,15,class,99,98,97,59, ... ]

So I want to seperate the data out like this
a[1]:=[[2..7]]
a[2]:=[[9..18]]
a[3]:=[[20..22]]
...etc

So I'm not sure how to get maple to skip the word class that seperates the data and store them into seperate lists.

Please Wait...