Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!brunix!dkb From: dkb@cs.brown.edu (Dilip Barman) Newsgroups: comp.lang.lisp Subject: Building a string, char-by-char -- more details (HELP!) Message-ID: <51809@brunix.UUCP> Date: 1 Oct 90 22:49:13 GMT Sender: news@brunix.UUCP Reply-To: dkb@cs.brown.edu (Dilip Barman) Organization: Brown University Department of Computer Science Lines: 23 What I'm trying to do seems fraught with problems and I thought I'd ask my question again with more details. Thanks to those who suggested fill-pointers and treating a string as an array of characters, but I am still having problems. What I want to be able to do is parse sentences from an input file, delimited by periods. Other than periods, only a-z, A-Z, slash (/), and dash (-) are considered non-white space. Words are delimited by white space. What I want to create is not a string but a list component (I discovered setting *print-escape* to nil to disable double quotes and this should help). So, in reading "This is sentence 1. This is * sentence2." I am trying to create: ( (THIS IS SENTENCE (NUMBER 1)) (THIS IS SENTENCE2) ) How can I coerce the string into being a list component?? This has me stumped! Thanks in advance. Dilip Barman dkb@cs.brown.edu U.S. mail: Brown University Home: 40 Everett Avenue Dept. of Computer Science, Box 1910 Providence, RI 02906 Providence, RI 02912 (401)863-7666 (401)521-9731