|
-
Aug 16th, 2004, 09:18 AM
#1
Thread Starter
Addicted Member
Formatting A Text File (the hard way) [resolved]
Ok, I have a text file that will have lets say three columns. The headings will be a certain length but the data varies. I want all the columns and data to line up to the left. I think the best way is to get the length of each data point and then add spaces. I need help with sending spaces like in vb char() something like that. any ideas??
Last edited by jordan23; Aug 16th, 2004 at 12:01 PM.
-
Aug 16th, 2004, 12:01 PM
#2
Thread Starter
Addicted Member
I use string.padleft and string.padright to insert the number of blanks I need.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|