Have a CSV file w/ about 15 columns - when opened in spread sheet (also have couple of "CSV editor" prgms).
Want to take 1 of the columns (by what ever method), & get it into a text config file in another prgm.
When you look at any CSV file in a text editor, there are NO spaces after each comma & before next data (datum).
The syntax for the prgm (text file) I'm trying to enter the data into, shows no spaces to be used between each comma & next data. Just a command then data list, w/ each piece of data separated by commas, but no spaces. It appears when I enter the data (including spaces) in the other prgm's text file, it does NOT use it correctly. I'm * assuming * it's because of the spaces - but I'm no expert on this.
Everything I've tried w/ Open Office, Excell (older ver), the CVS editors, Notepad ++, always winds up putting a space after each comma - before next piece of data.
Even when I delete everything from the orig CVS file except the column I want, once opened in the spread sheets, then save it in .cvs format, then reopen it in something other than a spreadsheet (text editor, etc.), it either has no commas at all, or put spaces between data. In short, the spreadsheets aren't saving the edited files in the EXACT same CVS format (w/ no spaces) as the original CVS file.
Any ideas how to do it the way (I think) I need to do it, w/o introducing spaces? Thanks.
I agree, if Intel wants to make those 50% margins, they really should stick to sockets longer, someone is more likely to upgrade their CPU when they don't need to purchase a motherboard, then looking at maybe RAM, might as well buy a whole new PC at that point, then before you know they've talked themselves out of the whole thing.
Question
Cheryl_27
Have a CSV file w/ about 15 columns - when opened in spread sheet (also have couple of "CSV editor" prgms).
Want to take 1 of the columns (by what ever method), & get it into a text config file in another prgm.
When you look at any CSV file in a text editor, there are NO spaces after each comma & before next data (datum).
The syntax for the prgm (text file) I'm trying to enter the data into, shows no spaces to be used between each comma & next data. Just a command then data list, w/ each piece of data separated by commas, but no spaces. It appears when I enter the data (including spaces) in the other prgm's text file, it does NOT use it correctly. I'm * assuming * it's because of the spaces - but I'm no expert on this.
Everything I've tried w/ Open Office, Excell (older ver), the CVS editors, Notepad ++, always winds up putting a space after each comma - before next piece of data.
Even when I delete everything from the orig CVS file except the column I want, once opened in the spread sheets, then save it in .cvs format, then reopen it in something other than a spreadsheet (text editor, etc.), it either has no commas at all, or put spaces between data. In short, the spreadsheets aren't saving the edited files in the EXACT same CVS format (w/ no spaces) as the original CVS file.
Any ideas how to do it the way (I think) I need to do it, w/o introducing spaces? Thanks.
Link to comment
https://www.neowin.net/forum/topic/993490-extracting-select-data-from-csv-file-one-column/Share on other sites
6 answers to this question
Recommended Posts