parsing input

2009-04-24 Thread Randall Dow
Hi Alex, I read a line, which looks something like: 01/02/2009 30.00400.00tRandall Dow in which the fields are separated by a varying number of spaces. That gets put into L, and then I delete the NILs that come from multiple spaces. Do you have a suggestion for a better way than

Re: parsing input

2009-04-24 Thread Tomas Hlavaty
Hi Randall, I read a line, which looks something like: 01/02/2009 30.00400.00tRandall Dow in which the fields are separated by a varying number of spaces. That gets put into L, and then I delete the NILs that come from multiple spaces. Do you have a suggestion for a better

Re: parsing input

2009-04-24 Thread Alexander Burger
Hi Tomas, 01/02/2009 30.00400.00tRandall Dow ... (use (@A @B @C @D @E) (when (match '(@A @B @C @D @E) (line)) (mapcar clip (list @A @B @C @D @E)) ) ) While this is an elegant solution, it does not work as expected, because the '@X' symbols do not necessarily