MathGroup Archive 2010

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

Search the Archive

Re: Disable " symbol


Am 02.08.2010 13:03, schrieb michuco:
> Hi,
> 
> I am reading files of mixed strings and numbers using
> 
> Data1= Import["file","Table"]
> 
> where I have something like
> 
> A"   A"   A'
> 
> which should yield "{A",A",A'}", instead, mathematica
> gives me "{A"   A",A'}". Is there anyway that I can
> disable the double quote " sign so that mathematica
> doesn't take this as a string?
> 

I think the "TextDelimiters" option is what you are looking for.
Note that the list structure is still not what you expected:

ImportString["A\"   A\" A'", "Table", "TextDelimiters" -> {}]

hth,

albert


  • Prev by Date: Re: Kernels dying on parallel code
  • Next by Date: Re: graphics3d listanimate
  • Previous by thread: Disable " symbol
  • Next by thread: Re: Disable " symbol