Hi,
Why donot write a func to convert all item in array in to one string?
like:
//myval[0]="one"
for(int i; ....){
String u += myval[i];
}
hope this will be helpful.

Mike
>From: Bansal Peeyush <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: How to Convert Array into String
>Date: Fri, 8 Sep 2000 14:00:09 -0400
>
>      Hi Kanojia Jogesh
>      As i think, according to JAVA an array may never be cast to a String.
>      So there is no direct function for converting array to String.
>      I am write ?
>
>      Peeyush Bansal
>      Application Developer
>      IBM Delhi.
>
>
>
>______________________________ Reply Separator
>_________________________________
>Subject: How to Convert Array into String
>Author:  Kanojia Jogesh <[EMAIL PROTECTED]> at INTERNET
>Date:    9/8/00 12:13 PM
>
>
>Hi there
>
>I have one array consisting of 5 value
>ie
>myval[0]="one";
>myval[1]="two";
>myval[2]="three";
>myval[3]="four";
>myval[4]="five";
>
>is there any function that will copy the value of array into a string
>seprated by comma(without using any loop)
>
>ie abc ="one,two,three,four,five";
>
>Since I have worked on PHP3 , there i use to use join funtion
>
>How to achive this in java please help me out
>
>Please help me out
>
>
>Regards :-)
>Kanojia Jogesh
>Senior Web Developer
>IG Technologies, Mumbai,India
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to