🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7162

Re: String formating to fixed length

#7162
From: Mica Cooper
Date: Fri, 06 Jul 2001 17:37
13 lines
1110 bytes
.substring

"Felix Gonzalez" <felixgr@arrakis.es> wrote in message
news:3b458bcc_2@dnews...
> Hi all!!
>
> How can i format a String to get it fixed length??
> Like a char(xx) in SQL, filling the trailing spaces.
>
> TIA
> Felix
>
>
Technical Details
Message-ID: <3b45f5bb$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3b458bcc_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,8ddb2df62d786a9a
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-07-06 10:36:28 PST
From: "Mica Cooper" <Mica_Cooper@microcore.net>
Newsgroups: borland.public.jbuilder.java.language
References: <3b458bcc_2@dnews>
Subject: Re: String formating to fixed length
Date: Fri, 6 Jul 2001 12:37:09 -0500
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 12.28.57.188
Message-ID: <3b45f5bb$1_1@dnews>
X-Trace: dnews 994440635 12.28.57.188 (6 Jul 2001 10:30:35 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews