|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Array to CSV
HI all
I need help with converting 2D array to CSV, Im using following code but it doent give me required output. brr[0][0]=TNI brr[0][1]=LR . . brr[n][n]=val str = CSV.generate_line(brr, col_sep = ?\r, row_sep = ?,) OUt put TNILRval my required out put should look like TNI,LR,val col_sep is working like the way i want it but row_sep is not working , may be i m using wrong. NEEDED HELP!!!!! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Ruby Programming > Array to CSV |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|