MathGroup Archive 2005

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

Search the Archive

Re: Set construction with condition


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