MathGroup Archive 2005

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

Search the Archive

Re: Set construction with condition

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61575] Re: Set construction with condition
  • From: "Valeri Astanoff" <astanoff at yahoo.fr>
  • Date: Sat, 22 Oct 2005 05:11:20 -0400 (EDT)
  • References: <dj71qk$cmn$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

My solution :

myStringJoin[a_,b_,c_,d_]/;Count[{a,b,c,d},"1"]>2:=Sequence[];

myStringJoin[a_,b_,c_,d_]:=StringJoin[a,b,c,d];

Flatten[Outer[myStringJoin,
{"1","X","2"},{"1","X","2"},{"1","X","2"},{"1","X","2"}]]

v.a.


  • Prev by Date: Re: Display sound but suppress graphicsDavid Bailey,http://www.dbaileyconsultancy.co.uk
  • Next by Date: Re: Circle equation problem
  • Previous by thread: Re: Set construction with condition
  • Next by thread: Re: Set construction with condition