Community Member Profile
- Profile: /members/7126-Stacey-Abshire.htm
- URL: http://www.4haks.net
- Comments: 7
- Points: 76
Recent Blog Comments By Stacey Abshire
-
UPDATE: Parsing CSV Data Files In ColdFusion With csvToArray()
Posted on Nov 18, 2010 at 11:06 AM
@Ben, Yep, running 8 here. :-( I did change how it creating the array, and got past that, but there were some other things too, so I just went back to my previous hacked version. Lie I told @gene, I had to make some other hacks too, so no big deal. I'll tell you though, this has been in... read more »
-
UPDATE: Parsing CSV Data Files In ColdFusion With csvToArray()
Posted on Nov 18, 2010 at 11:04 AM
@Gene, I've just went back to the previous version. I had already hacked it to work, and am hacking it some more for some other cases I need to handle. Some of my data looks like: "Sam Smith" <sam@smith.com>, Jim Jones <jim@abc.com>, "Jones, Bob&... read more »
-
UPDATE: Parsing CSV Data Files In ColdFusion With csvToArray()
Posted on Nov 17, 2010 at 2:25 PM
Ok, finally got around to actually using this new version and not my hacked version, but the following line has CF barking at me: <cfset local.csvData = [ [] ] /> Invalid CFML construct found on line 401 at column 32. ColdFusion was looking at the following text: [read more »
-
UPDATE: Parsing CSV Data Files In ColdFusion With csvToArray()
Posted on Oct 22, 2010 at 11:17 PM
Thanks @ben! You rock!... read more »
-
CSVToArray() ColdFusion UDF For Parsing CSV Data / Files
Posted on Oct 22, 2010 at 11:15 AM
@Ben, My hack fix was this change in the code: <!--- ASSERT: At this point, no matter how the data was passed in, we now have it in the CSV variable. ---> &n... read more »
-
CSVToArray() ColdFusion UDF For Parsing CSV Data / Files
Posted on Oct 22, 2010 at 11:07 AM
@Ben, I guess I am the straw that broke the camel's back. LOL!... read more »
-
CSVToArray() ColdFusion UDF For Parsing CSV Data / Files
Posted on Oct 22, 2010 at 11:03 AM
@Paul @Ben I am having the same issue with the first row have a first cell that is empty. In that case, it is skipped, and I am pretty certain it isn't the regex, but rather has something to do with the assumption to use the 3rd group if the quoted group isn't matched. So in my case, I am just... read more »



