Re: How to remove just the outermost braces of a list?
- To: mathgroup at smc.vnet.net
- Subject: [mg69926] Re: How to remove just the outermost braces of a list?
- From: "Blackadder" <Malte at t-online.de>
- Date: Wed, 27 Sep 2006 06:05:51 -0400 (EDT)
- References: <efarmd$7vg$1@smc.vnet.net>
Hi,
if the only thing you want to accomplish is remove the outer braces for
textual output, this will do:
e = {a, {b}}
Print[StringTake[stre = ToString[e], {2, Length[stre] - 2}]]
Best regards,
Malte