MathGroup Archive 2001

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

Search the Archive

Re: list of bits to string


Murray Eisenberg wrote:
> 
> 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?

StringJoin[Map[ToString, {1, 0, 1, 0, 1}]]

Albert


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