RE: list of bits to string
- To: mathgroup at smc.vnet.net
- Subject: [mg28699] RE: [mg28688] list of bits to string
- From: "Harvey P. Dale" <hpd1 at nyu.edu>
- Date: Thu, 10 May 2001 07:54:45 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Murray:
ToString[FromDigits[{0,1,1,0,1}]]
Best,
Harvey
Professor Harvey P. Dale
Director
National Center on Philanthropy and the Law
New York University School of Law
Room 206A
110 West 3rd Street
New York, N.Y. 10012-1074
tel: 212-998-6161
fax: 212-995-3149
-----Original Message-----
From: murray at math.umass.edu [mailto:murray at math.umass.edu]
To: mathgroup at smc.vnet.net
Sent: Wednesday, May 09, 2001 4:20 AM
To: mathgroup at smc.vnet.net
Subject: [mg28688] list of bits to string
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