From ... From: Erik Naggum Subject: Re: character Comparison Date: 2000/02/20 Message-ID: <3160029562363276@naggum.no>#1/1 X-Deja-AN: 588063516 References: mail-copies-to: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 951162724 21124 195.0.192.66 (21 Feb 2000 19:52:04 GMT) Organization: Naggum Software; +47 8800 8879 or +1 510 435 8604; fax: +47 2210 9077; http://www.naggum.no User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Mime-Version: 1.0 NNTP-Posting-Date: 21 Feb 2000 19:52:04 GMT Newsgroups: comp.lang.lisp * "Chris H" | how do I check if character 'a' is in word 'banada' | | is any thing like substring() function ? yes. FIND, POSITION, SEARCH, CHAR, SUBSEQ, etc. note that most operations on characters and strings in Common Lisp are simply special cases of operations on elements and sequences. many C-based programmers are frustrated because they think that Common Lisp has few string-handling functions. Common Lisp has few string-only functions, so remember to look for sequence and array functions, too. #:Erik