MathGroup Archive 2003

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

Search the Archive

Unformatted File IO


I have an unformatted text file whose records hold reals and double-quoted 
strings, all delimited by spaces, e.g.,

    "hello there"  2.7
    1 2 3 4
    9    "abc"      "def"

How can I read the file to produce a list of lists, e.g., {{hello there, 2.7},
{1,2,3,4}, {9, abc, def}}?

Thanks.

Bruce


  • Prev by Date: Trigonometric math functions
  • Next by Date: Re: Mathematica 5 crashes
  • Previous by thread: Re: Trigonometric math functions
  • Next by thread: Re: Unformatted File IO