Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2001

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

Search the Archive

Re: list of bits to string

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28717] Re: list of bits to string
  • From: "Planet Internet Nieuws" <A.BinTalal at its.tudelft.nl>
  • Date: Thu, 10 May 2001 07:55:01 -0400 (EDT)
  • References: <9dauth$e28@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

StringJoin[ 
                 ToString[{0, 1, 1, 0, 1} [[1]]],
                 ToString[{0, 1, 1, 0, 1} [[2]]],
                 ToString[{0, 1, 1, 0, 1} [[3]]],
                 ToString[{0, 1, 1, 0, 1} [[4]]],
                 ToString[{0, 1, 1, 0, 1} [[5]]]
                ]


"Murray Eisenberg" <murray at math.umass.edu> wrote in message news:9dauth$e28 at smc.vnet.net...
> I have a list consisting of binary digits, of a given length, e.g.,
> {0, 1, 1, 0, 1}.  I wish to convert this to a _string_ consisting of
> those digits: "01101".  How can this be done?
> 
> --
>   Murray Eisenberg                       Internet:  murray at math.umass.edu
>   Mathematics & Statistics Dept.            Voice:  413-545-2859 (W)
>   University of Massachusetts                       413-549-1020 (H)
>   Amherst, MA 01003                           Fax:  413-545-1801
> 





  • Prev by Date: Re: list of bits to string
  • Next by Date: RE: list of bits to string
  • Previous by thread: Re: list of bits to string
  • Next by thread: RE: list of bits to string