MathGroup Archive 2001

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

Search the Archive

Re: list of bits to string

Flatten does nothing to a depth 1 list. Flatten[{0,1,1,0,1}]->{0,1,1,0,1}

then, ToString[{0,1,1,0,1}]->{0,1,1,0,1}

VirtuaDAN at wrote:

>        It's a two step process. The first thing you need to do is use the
> "Flatten" function on your list. Then take that and use "ToString" on it.
> The code:
> a={0, 1, 1, 0, 1}
> ToString[Flatten[a]]
> should suffice.
> Dan Recht
> Virtuadan at


Ignacio Rodriguez Ramirez de Arellano
Unidad de RMN
Universidad Complutense
Paseo Juan XXIII, 1
Madrid 28040, Spain

Tel. 34-91-394-3288
Fax  34-91-394-3245
e-mail: ignacio at

  • Prev by Date: Replacing Parts of a List
  • Next by Date: Win2000
  • Previous by thread: Re: list of bits to string
  • Next by thread: Re: Re: list of bits to string