Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Taking either a sequence or a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63110] Re: Taking either a sequence or a list
  • From: kalymereau at yahoo.fr
  • Date: Thu, 15 Dec 2005 03:06:22 -0500 (EST)
  • References: <dnm29m$89q$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

To me the simplest way to do that is
Foo[n__]:=(
   tmp=Flatten[{n}];
   StringJoin["* * * ",ToString[Length[tmp]]," * * * "]
   )

G.


  • Prev by Date: Re: Opener Icons for cell group.
  • Next by Date: Re: Opener Icons for cell group.
  • Previous by thread: Re: Taking either a sequence or a list
  • Next by thread: Re: Taking either a sequence or a list