MathGroup Archive 2010

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

Search the Archive

Re: Disable " symbol

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111479] Re: Disable " symbol
  • From: Albert Retey <awnl at gmx-topmail.de>
  • Date: Tue, 3 Aug 2010 06:34:43 -0400 (EDT)
  • References: <i368m3$r5m$1@smc.vnet.net>

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