I am expecting users to upload a CSV file of max size 1MB to a web form that should fit a given format similar to:
"<String>","<String>",<Int>,<Float>
That will be processed later. I would like to verify the file fits a specified format so that the program that shall later use the file doesnt receive unexpected input and that there ar...
I have a set of csv files (around 250), each having 300 to 500 records. I need to cut 2 or 3 columns from each file and store it to another one. I'm using ubuntu OS. Is there any way to do it in command or utility?
...
I need to do a "find and replace" on about 45k lines of a CSV file and then put this into a database.
I figured I should be able to do this with PHP and preg_replace but can't seem to figure out the expression...
The lines consist of one field and are all in the following format:
"./1/024/9780310320241/SPSTANDARD.9780310320241.jpg" or...
i have a bulk of MS documents and I'm using ubuntu os. I need to convert all documents to csv.
Is there any way to do it
...
I have no problems getting the file to upload and if I save it to disk, all formatting is intact.
I wrote a function to read in the the file within Django using:
data = csv.reader(f.read())
where f is the Django file object that I get from 'form.cleaned_data['file']' and yes the file is already bound to the form.
When I try to read ...
I know I already have the Haskell Data.ByteString.Lazy function to split a CSV on a single character, such as:
split :: Word8 -> ByteString -> [ByteString]
But I want to split on a multi-character ByteString (like splitting on a String instead of a Char):
split :: ByteString -> ByteString -> [ByteString]
I have multi-character sepa...
How do I convert the contents of to CSV format? Is there a library or linux program that does this? This is similiar to copy tables in Internet Explorer, and pasting them into Excel.
...
How do I read large CSV files using C# & display it on the browser?
...
I'm developing a java app that exports data to CSV files, intended to be opened in Excel by end users. We just noticed that the export function uses Java's platform default encoding. This causes umlaut characters to be lost and unit test to fail on the build server (which is configured to have US-ASCII as its platform default encoding ex...
This CSV file has a field delimiter of $
It looks like this:
14$"ALL0053"$$$"A"$$$"Direct Deposit in FOGSI A/c"$$"DR"$"DAS PRADIP ...
How can I view the file as columns, each field shown as in columns in a table.
I've tried many ways, none work. Any one knows how?
I am using Ubuntu
...
I have CSV data (in fact the values are separated by a tab character, but I can use ; as the separator). The data are stored in a String object.
Is there simple way to create a JTable with this data (without doing it manually by reading and parsing the String object) ?
(note: my project is using Java 1.4, but if you have a solution tha...
In my stored procedure I am passing a filter (using "WHERE Column IN" clause) as a parameter. The value of the parameter is given as CSV. What is the best method to convert this CSV in to a record set.
Example:-
SELECT *
FROM Employee
WHERE Name IN ('John','Joe','Jerry','James')
and I need to pass the names as a parameter whi...
Hi everyone,
I’m building a application that monitors information on a website.
The website allows you to save stuff off it as a CSV.
My problem arises when I try to pull time and date information from Excel.
For those who want to see what spreadsheet I am working on:
http://ets.aeso.ca/ets%5Fweb/ip/Market/Reports/CSMPriceReportServle...
I know, now I have two problems. But I'm having fun!
I started with this advice not to try and split, but instead to match on what is an acceptable field, and expanded from there to this expression.
final Pattern pattern = Pattern.compile("\"([^\"]*)\"|(?<=,|^)([^,]*)(?=,|$)");
The expression looks like this without the annoying esc...
HI, I've got a list of 10 websites in CSV. All of the sites have the same general format, including a large table. I only want the the data in the 7th columns. I am able to extract the html and filter the 7th column data (via RegEx) on an individual basis but I can't figure out how to loop through the CSV. I think I'm close but my script...
Hi,
I want to create a CSV file using Perl and write some data to it. Is there any way to do that?
Thank You
...
I am trying to write an awk script to convert a CSV formatted spreadsheet into XML for Bugzilla bugs. The format of the input CSV is as follows (created from an XLS spreadsheet and saved as CSV):
tag_1,tag_2,...,tag_N
value1_1,value1_2,...,value1_N
value2_1,value2_2,...,value2_N
valueM_1,valueM_2,...,valueM_N
The header column represe...
I'd like to String.Split() the following string using a comma as the delimitter:
John,Smith,123 Main Street,212-555-1212
The above content is entered by a user. If they enter a comma in their address, the resulting string would cause problems to String.Split() since you now have 5 fields instead of 4:
John,Smith,123 Main Street, Apt...
I need to extract some data from a CSV file. The CSV is a 2 column file with multiple records. The first column is the date, the second column is the data that needs to be extracted. The first row of the CSV file is the column headers, so it can be skipped. And I've already created the column header for the extracted data's csv file,...
Hi, i'm using sharpdevelop to program WPF application(I'm newbie to WPF i've knowledge of VB only and no C#, is it necessary to learn C# to know WPF ?).
and i want to read CSV file first. after that i want to modify and save file. any suggestions and pointers for this ?
...