Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

int array to String

807569Sep 22 2006 — edited Sep 22 2006
Hi,

I have a question if i have a intger array which has elements like
a[0]=43;
a[1]=2;
a[2]=3;
a[4]=4;
can i put them in a string in such a way that a string would have contents str= "43,2,3,4".

Please suggest me how to do that ...
Just to mention I only have a integer array which finally i want to convert in a String in which all integers of that array are seperated by comma.

Please help!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 20 2006
Added on Sep 22 2006
34 comments
576 views