Re: Urgent help required

2011-03-24 Thread vaibhav srivastava
No Problem...I have fixed it now.

Cheers!!


On Thu, Mar 24, 2011 at 11:03 AM, James Cicenia  wrote:

> I wish I knew about that about five years ago.
> :-)
>
> James
>
> On Mar 23, 2011, at 5:48 PM, Travis Britt wrote:
>
> > http://opencsv.sourceforge.net/ if you want to get fancy or need to
> escape values and whatnot.
> >
> > On Mar 23, 2011, at 6:32 PM, 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
> >
> > ___
> > 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/james%40jimijon.com
> >
> > This email sent to ja...@jimijon.com
>
>  ___
> 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/coolvibh.5951%40gmail.com
>
> This email sent to coolvibh.5...@gmail.com
>
 ___
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

Re: Urgent help required

2011-03-24 Thread James Cicenia
I wish I knew about that about five years ago.
:-)

James

On Mar 23, 2011, at 5:48 PM, Travis Britt wrote:

> http://opencsv.sourceforge.net/ if you want to get fancy or need to escape 
> values and whatnot.
> 
> On Mar 23, 2011, at 6:32 PM, 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 
> 
> ___
> 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/james%40jimijon.com
> 
> This email sent to ja...@jimijon.com

 ___
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


Re: Urgent help required

2011-03-23 Thread vaibhav srivastava
That too , I Know 
Complexity lies in writing column headers as row and values starting from
same column .




On Wed, Mar 23, 2011 at 3:45 PM, Andrew Lindesay  wrote:

> 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/coolvibh.5951%40gmail.com
>
> This email sent to coolvibh.5...@gmail.com
>
 ___
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

Re: Urgent help required

2011-03-23 Thread Travis Britt
http://opencsv.sourceforge.net/ if you want to get fancy or need to escape 
values and whatnot.

On Mar 23, 2011, at 6:32 PM, 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 

 ___
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


Re: Urgent help required

2011-03-23 Thread Andrew Lindesay

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


Re: Urgent help required

2011-03-23 Thread Mark Ritchie
Sounds like a homework assignment to me! ;-)
M.

On 23/Mar/2011, at 3:32 PM, 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.
> 
> 
> Regards
> Vaibhav
> ___
> 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/mark.ritchie%40mac.com
> 
> This email sent to mark.ritc...@mac.com

 ___
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


Urgent help required

2011-03-23 Thread vaibhav srivastava
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.


Regards
Vaibhav
 ___
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