File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

toString()...

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
could anyone please help me out in printing out the vector elements.
I have a Vector, of which each element in the vector holds an array of strings. How to print in the following format
v(1) = [s(1),s(2)....]
.
.
.
v(n) = [s[1]........]
Let say for eg:-
Vector v = new Vector();
v.addElement(string[]);
Thanks,
 
Carl Trusiak
Sheriff
Posts: 3340
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by VV:
could anyone please help me out in printing out the vector elements.
I have a Vector, of which each element in the vector holds an array of strings. How to print in the following format
v(1) = [s(1),s(2)....]
.
.
.
v(n) = [s[1]........]
Let say for eg:-
Vector v = new Vector();
v.addElement(string[]);
Thanks,

Here is a quick method you could use usinf for loops.

[This message has been edited by Carl Trusiak (edited July 13, 2000).]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic