aspose file tools
The moose likes Cattle Drive and the fly likes printing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Reply Bookmark "printing" Watch "printing" New topic
Author

printing

sailsjam
Greenhorn

Joined: Jul 05, 2001
Posts: 18
I have vector.Each element in the vecor is a string.I want to print each string element in seperate line.How am I to go about doing that.
PS the size each may vary.
My problem is that when a string is long when it is printed some part of it doesnot show on the page
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9033
    
  10
Use System.out.println()


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Peter Gragert
Ranch Hand

Joined: Jan 16, 2001
Posts: 421
If really neaded for this or another reason use 'substring' to cut out parts of a too long string and 'print(ln)' each part ?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: printing
 
Similar Threads
list children of element (jdom)
TreeSet's add() method runtime error
Manipulating String?
string swapping
string and array