variation on Split
- To: mathgroup@smc.vnet.net
- Subject: [mg12636] variation on Split
- From: "Barthelet, Luc" <lucb@ea.com>
- Date: Sat, 30 May 1998 17:36:30 -0400
Split[{a,b,c,d,d,e,f,g,g,h,h,h}] return {{a},{b},{c},{d,d},{e},{f},{g,g},{h,h,h}} What do you have to do to get: {{a,b,c},{d,d},{e,f},{g,g},{h,h,h}} ? thanks.