MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

variation on Split




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.




  • Prev by Date: Noumerical Calculations and mashinepresition
  • Next by Date: Text and Wickham-Jones's LabelContourLines
  • Prev by thread: Noumerical Calculations and mashinepresition
  • Next by thread: Text and Wickham-Jones's LabelContourLines