🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Printing Arrays!! No. 2

#18657
From: Ken Chan
Date: Wed, 13 May 1998 00:00
18 lines
1093 bytes
Howard Weiner wrote:
> Both the PrintStream and PrintWriter classes feature a print/println method
> which accepts both a single character and a character array.

True, but that's not where the problem is. It is actually:

  char roc[]
  ...
  roc.substring()  // <-- here

Then to print the "substring" you do have to extract just the characters 
you want to print into another char array or a String, or use another 
loop to print the indiviual characters, or....

-- 
//Ken@Inprise
<Please follow-up to newsgroup; do not reply to email>
Technical Details
Message-ID: <MPG.fc3bc1d6b646bb798994d@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6itei3$u01@forums.borland.com> <6iuar5$u014@forums.borland.com> <MPG.fc150a094c11db898993c@forums.borland.com> <6j9fbq$9vs14@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,4c54a2bc3cc4521f
X-Google-Attributes: gidf74b3,public
From: supportinfo@borland.com (Ken Chan)
Subject: Re: Printing Arrays!! No. 2
Date: 1998/05/13
Message-ID: <MPG.fc3bc1d6b646bb798994d@forums.borland.com>
X-Deja-AN: 353015014
References: <6itei3$u01@forums.borland.com> <6iuar5$u014@forums.borland.com> <MPG.fc150a094c11db898993c@forums.borland.com> <6j9fbq$9vs14@forums.borland.com>
Organization: Borland
Newsgroups: borland.public.jbuilder.java.language