Linked Questions
104 questions linked to/from Dealing with commas in a CSV file
30 votes
2 answers
44k views
how to use comma in csv columns [duplicate]
Possible Duplicate: Dealing with commas in a CSV file We are exporting a bulk data into a csv file for one of our projects. So in this case we have to export values like a,b,c,d which all have to ...
8 votes
3 answers
14k views
Parsing a CSV with comma in data [duplicate]
Possible Duplicate: Dealing with commas in a CSV file I wrote myself a CSV parser it works fine until I hit this record: B002VECGTG,B002VECGTG,HAS_17131_spaceshooter,"4,426",0.04%,"4,832",0.03%,0%,...
-3 votes
2 answers
9k views
How to read CSV file splitting by commas except if it's part of a field [duplicate]
I have the following C# code which reads a CSV file and goal is to save it to a SQL table: StreamReader sr = new StreamReader(tbCSVFileLocation.Text.ToString()); string line = sr.ReadLine(); string[] ...
0 votes
2 answers
3k views
Delimiter Workaround CSV C# [duplicate]
I have written a method that writes a DataTable to a CSV file that looks like this; public void writeToCSV(DataTable dt) { StringBuilder sb = new StringBuilder(); IEnumerable&...
0 votes
1 answer
2k views
Ignore the comma inside a row from a csv [duplicate]
So here is my issue. I am reading a CSV into a datagridview. the first row of the csv is the column headers and the of the file becomes the row. I am reading the file and using as the datasource of ...
-1 votes
2 answers
2k views
C# How to remove extra comma form a specific line in a comma delimited csv file before the csvline.split(',') [duplicate]
Greeting I have asked help before about parsing and it has helped a lot. I need help once again after several days finding a logical way to solve this. Bellow the lines im parsing 5/13/2019,"PHONE ...
0 votes
1 answer
906 views
Escape Comma in Date Command Bash for CSV File [duplicate]
I'm trying to put the date an aws user was created into a more user friendly format in a CSV file using this command. I tried: aws_user_friendly_date=$(date --date "$aws_user_create_date" '+%B %d\\, %...
0 votes
2 answers
646 views
How to prevent specific comma delimted values being parsed (C#) [duplicate]
Possible Duplicate: Dealing with commas in a CSV file I am currently parsing values from a CSV file and adding them to a datatable. The csv file contains 5 columns and am parsing each row before ...
3 votes
1 answer
684 views
DATA INGESTION USING SQOOP [duplicate]
I have to ingest a CSV file in HDFS using Sqoop. The problem is that I am using a ',' (comma) as a separator, and my data also has a column with ','s. which is creating a problem parsing the data. ...
0 votes
1 answer
580 views
How to deal with comma and line break when generating csv file using plsql [duplicate]
I have a varchar2 column that contains line breaks and commas. However, when generating a CSV file using PL/SQL, the presence of commas causes the data to jump to the next column, and line breaks ...
-1 votes
1 answer
360 views
In JDBC, csv format is not delimited correctly due to a comma coming in a field/column of a table [duplicate]
import java.sql.*; public class Voucher { public static void main(String[] args) { try { Class.forName("oracle.jdbc.driver.OracleDriver"); String dbURL =...
0 votes
1 answer
321 views
Creating CSV with hyperlink with a comma in it [duplicate]
I'm trying to create a CSV by inserting an array of strings. The problem I have is I'm trying to use the =HYPERLINK function to create links to google maps. The problem is that Google Maps uses a ...
-2 votes
1 answer
297 views
Importing csv file with commas in it Asp.net [duplicate]
I am importing a csv file and a column in this csv file can have commas in it. So when I import it increases the columns . 3,Stage3,"Desc Stage,test,test2",55.98,98.76 This is the row and I want my ...
0 votes
1 answer
258 views
How to insert comma text into CSV in Java [duplicate]
I have 3 fields in my CSV, Name | Age | Comment ---------------------- Kiran 25 testing, the space Madhu 29 Wow, how beautiful it is, lets go I'm facing problem in inserting comma separated ...
0 votes
2 answers
131 views
split csv, one of the tabs is an array [duplicate]
I have a .csv file which goes like this "a1,b1,c1,d1", foo1, goo1 "a2,b2,c2,d2", foo2, goo2 and I would like to parse it to an object of string[] letters string foo string goo so the data is ...