Article View: borland.public.jbuilder.java.language
Article #8593Re: Length of a string var(xx)
From: John McGrath TeamB
Date: Sat, 10 Mar 2001 10:16
Date: Sat, 10 Mar 2001 10:16
17 lines
1219 bytes
1219 bytes
On Sat, 10 Mar 2001 10:18:43 +0100, icsd.jt@wanadoo.fr wrote:
> I have a string defined as char(30)
> Wich is the best method for get back the length
> of this string ?
char[] charArray = new char[30];
System.out.println( "length = " + charArray.length );
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.1513c4008f0dd07798a04b@forums.borland.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!not-for-mailReferences:
<3aa9f174$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,8022201ccbd3f770 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-10 02:16:05 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!not-for-mail From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.language Subject: Re: Length of a string var(xx) Date: Sat, 10 Mar 2001 05:16:45 -0500 Organization: Another Netscape Collabra Server User Lines: 17 Message-ID: <MPG.1513c4008f0dd07798a04b@forums.borland.com> References: <3aa9f174$1_2@dnews> NNTP-Posting-Host: dslcv1-60.fast.net X-Newsreader: MicroPlanet Gravity v2.30