Hello Vaibhav;

You could do it with a StringBuffer fairly simply -- just create a StringBuffer and use the ".append()" method to add the commas and values.

cheers.

On 24/03/11 11:32 AM, vaibhav srivastava wrote:
Hello community ,

I have array of values need to be write in csv

array {(x0,y0,z0),(x1,y1,z1),(x2,y2,z2)}

then I have column header as (a,b,c)

now format, which I want my array to be written in csv is

a x0 y0 z0
b x1 y1 z1
c x2 y2 z2

Can anybody help me out with the logic to write in the csv in this format.

--
Andrew Lindesay
www.silvereye.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to