Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes ignoring comma in CSVWriter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

ignoring comma in CSVWriter

Raza Mohd
Ranch Hand

Joined: Jan 20, 2010
Posts: 247

can anybody give me solution that i want my CSV file with no Quote character.

and i using Final field NO_QUOTE_CHAR

and i want to write a field which is having Comma in it.

for example ::

cvv number ('Q','C')
card number
Id




please help me..

i stuck for a long time.

Good luck!!
A small leak can sink a Gigantic ship.>
Raza Mohd
Ranch Hand

Joined: Jan 20, 2010
Posts: 247

I tried a lot But no solution.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Not sure I understand this question. What format do you want and what are you getting?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3432
    
  12
As I told you here, you can't have values with commas in them in a CSV file unless you put those values in quotes. If you don't want the values in quotes then you can't use a CSV file to store them - you will have to use some other format.


Joanne
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Why start a new topic about the same issue? Please continue in your old topic.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ignoring comma in CSVWriter
 
Similar Threads
how to write comma in CSV file
Problem creating CSV file with writeAll method of CSVWriter
Card game
can't split card shuffle method into a separate class
Write comma with CSVWriter + help needed