Re: How can I split a List into sub-lists

2008-06-05 Thread Claude Brisson
The right answer is : you can do it yourself, with or without class. For instance (pseudocode) : left = list.sublist(0,middle) right = list.sublist(middle,end) for i in {0..length} result.add(new list({left(i),right(i)})) that difficult? Claude Le jeudi 05 juin 2008 à 20:41 +0200, Zso

How can I split a List into sub-lists

2008-06-05 Thread Zsolt Koppany
Hi, I would like to split a list like below: {A1 A2 A3 B1 B2 B3} into { {A1 B1} {A2 B2} {A3 B3} } Which class can do that? Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT