MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Add Quotation Marks to Data in a file


I have a comma-separated file (CSV) that looks like
 
Circle, 6 x 6, 5, 0.23
Circle, 7 x 7, 5, 0.29
...
 
How do I add quotation marks around the second element
so that when I export the data to an CSV file, I get
 
Circle, "6 x 6", 5, 0.23
Circle, "7 x 7", 5, 0.29
...
 
Thank you
John C. Erb


  • Prev by Date: Re: How to delete a row and a column in a matrix?
  • Next by Date: Re: How to delete a row and a column in a matrix?
  • Previous by thread: Re: Re: Programming in Mathematica
  • Next by thread: Re: Add Quotation Marks to Data in a file