comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » String Formatting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
String Formatting [message #64823] Mon, 26 January 2009 11:02 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

Before I re-invent the wheel, I thought I would ask.

I wish to write an ASCII text file with two columns of
text. The first column should be 30 characters wide,
the second column should be 45 characters wide.

BUT, I wish the data in the columns to be *left*
justified, not right justified.

What trick to you use, or what formatting string will
give me this kind of output?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: String Formatting
Next Topic: IDL-Java bridge

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 21:13:31 PDT 2025

Total time taken to generate the page: 1.03322 seconds