Click to See Complete Forum and Search --> : how to spare this struct values


roger5089
May 3rd, 2007, 11:58 AM
Dear all
if i have one data struct like this

1-1#apple#a apple
1-1#bag# a bag
1-1#ball# a ball
1-1#book# a book
1-2#cat# a cat


how can i spare each element like group i can catch the data output
a nunmber i can spare to one group , name are one group , a name are in some group
1 is 1-1
1-1
1-1
1-1
1-2

2. is apple
bag
ball
book
cat

3. is a apple
a bag
a ball
a book
a cat

MrViggy
May 3rd, 2007, 04:18 PM
I don't understand the question. Are you asking how to split the data up into three lists?

Viggy

roger5089
May 3rd, 2007, 11:14 PM
I don't understand the question. Are you asking how to split the data up into three lists?

Viggy

yes split if i can use this method , but i donot know how to use it
can you give me a some sample thank's u