1
2
3
4
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, non-delimited, regexp, csv

I have large text-reports f...

98edd841bbc19903cd758722d9745f0b Talk
1
2
3
4
<? php
if $userinput = "http://www."
{
...

PHP Replace user input with link

by Mlopez, January 02, 2008 01:39, 10 refactorings, tagged with replace, text, with, url, php, user, help, phrasing, parsing, http

im not quite sure where to ...

132a00e84e74c003f68311b39b28e969 Talk