Thanks all!
(let L (mapcar pack (filter prog (split (line) " ")))
converts:
"01/02/2009 30.00 400.00 t Randall Dow"
to
("01/02/2009" "30.00" "400.00" "t" "Randall" "Dow")
which is just what I want. I could have left out the '(mapcar pack'
and left it as a char list, which would still produce a more efficient
program overall.
Thanks Alex!
Rand
On Sat, Apr 25, 2009 at 10:51 AM, Tomas Hlavaty <[email protected]> wrote:
> Hi Randal & Alex,
>
>> While this is an elegant solution, it does not work as expected,
>> because the '@X' symbols do not necessarily match non-white
>> characters.
>
> I see, I should have tried that first;-)
>
> Cheers,
>
> Tomas
> --
> UNSUBSCRIBE: mailto:[email protected]?subject=unsubscribe
>
--
UNSUBSCRIBE: mailto:[email protected]?subject=unsubscribe