String arrays
Hi!
I am reading an SQL result in the form of
a , b , c , d
where all of these are strings.
i have inserted them in a
String st[i]=a+b+c+d
and then st is inserted in a vector.
so my vector holds string[] objects.
how can i read these objects from my vector?
because i tried and all i can read is Java.lang.String@ab23a and so.
And finally somthn else.
when i have a
String[ ] k =new String[10];
String[ ] small =new String[7];
and i want
small[i] = k[i].concat(.k[++i])
how do i avoid the culprit of missing the last element of k ?
'cause then k[++i]=null
!
Thank you!!
[797 byte] By [
georousa] at [2007-11-26 17:07:41]

> and then st is inserted in a vector.
> so my vector holds string[] objects.
> how can i read these objects from my vector?
> because i tried and all i can read is
> Java.lang.String@ab23a and so.
Post a short example of how you create the vector, and how you get items. Post the code here.
>
> And finally somthn else.
> when i have a
>
> String[ ] k = new String[10];
> String[ ] small = new String[7];
>
> and i want
> small[i] = k[i].concat(.k[++i])
>
> how do i avoid the culprit of missing the last
> element of k ?
> 'cause then k[++i]=null
!
I don't understand that question.