<?php

function csv_to_array($csv,$has_headings=false,$delimiter=',',$enclosure='"',$escape="//",$eol="\n")
...

PHP CSV to Array

by https://www.google.com/accounts/o8/id?id=AItOawlRIAN_Qr05v4dFeOZBCLVkTvr-_VKeoTY, November 22, 2011 11:17, 1 refactoring, tagged with php, csv

This is a function that tak...

55502f40dc8b7c769880b10874abc9d0 Talk
require 'csv'

records     = CSV.readlines("source.csv")
...

Ruby Generate HTML links from CS...

by mattonrails.myopenid.com, April 18, 2010 20:45, 2 refactorings, tagged with ruby, script, csv

I was given a 100+ row XLSX...

0b30c6aa6b9027d124ca028325b80b15 Talk
<?php
// $arraydata contains the mysql results in array 

...

PHP array to csv

by armano.myopenid.com, December 07, 2009 13:35, 8 refactorings, tagged with php, csv

hi guys, is there other bet...

1cd9c8984f2fdeb996130d54d62a98d9 Talk
# sum an an array's elements
def sum_row(a)
  sum = 0
...

Ruby Conditionally deleting colu...

by srboisvert.myopenid.com, December 18, 2008 00:18, 6 refactorings, tagged with ruby, array, csv

I needed to read in a CSV f...

12d6a2e5971e661ee2bf2994526e848d Talk
def writefile(file, *linedata)
	linedata.each do |line| 	
		file << line.join(",") + "\n"
...

Ruby Parsing non-delimited text

by thepanu, October 06, 2008 07:48, 1 refactoring, tagged with parsing, csv, non-delimited, regexp

I have large text-reports f...

98edd841bbc19903cd758722d9745f0b Talk
require 'csv'

def sort_csv(filename, fields = ["ID"], reverse = false)
...

Ruby Ruby Custom Sort

by cpjolicoeur, August 03, 2008 14:37, 5 refactorings, tagged with ruby, sort, sorting, csv

I had this question recentl...

Cf8a610127d1108dfe67f673320b5fe5 Talk