Re: create character listing
- To: mathgroup at smc.vnet.net
- Subject: [mg112558] Re: create character listing
- From: Helen Read <hpr at together.net>
- Date: Mon, 20 Sep 2010 05:41:45 -0400 (EDT)
- References: <i74lmb$jjp$1@smc.vnet.net>
- Reply-to: HPR <read at math.uvm.edu>
On 9/19/2010 5:38 AM, shippee wrote: > What would be the best way to create a character/string listing of all > values in columnar format from "aaa" through "bzz"? I'd like to end > up with something like: > > aaa > aab > aac > ... > ... > bzz Here's one way. alphabet = CharacterRange["a", "z"] triples = Outer[StringJoin, {"a", "b"}, alphabet, alphabet] Column[Flatten[triples]] -- Helen Read University of Vermont