format string left alignment

Discussion of Common Lisp
Post Reply
joybee
Posts: 21
Joined: Wed Jan 07, 2009 1:49 pm

format string left alignment

Post by joybee » Sat Jul 31, 2010 6:37 am

Hello!

Can anyone help me? I don't know how to format string outputs so each column would be aligned up. Right now my output looks ugly. I used ~t to space out but it didn't seem to work.

What I want will look like:

abcdefg heck
dseg I don't know how to do it
hello, there Good grief

joybee
Posts: 21
Joined: Wed Jan 07, 2009 1:49 pm

Re: format string left alignment

Post by joybee » Sat Jul 31, 2010 6:39 am

That's not what I wanted!!!


Good grief!

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: format string left alignment

Post by nuntius » Sat Jul 31, 2010 7:20 am

Try using a "[ code]...[/code]" block to format your text on this forum.

As for ~T in CL's format, check out the hyperspec.

Post Reply