my dog learned polymorphism*
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: 3689
    
  16
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: 14276
    
  21

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 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ignoring comma in CSVWriter