Ignore:
Timestamp:
06/14/05 17:57:32 (16 years ago)
Author:
piso
Message:

STRING-TRIM: minor cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/strings.lisp

    r7404 r9388  
    11;;; strings.lisp
    22;;;
    3 ;;; Copyright (C) 2003-2004 Peter Graves
    4 ;;; $Id: strings.lisp,v 1.7 2004-08-15 11:25:36 piso Exp $
     3;;; Copyright (C) 2003-2005 Peter Graves
     4;;; $Id: strings.lisp,v 1.8 2005-06-14 17:57:32 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    1818;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    1919
    20 (in-package "SYSTEM")
     20(in-package #:system)
    2121
    2222(defun string-upcase (string &key (start 0) end)
     
    147147  (setq string (string string))
    148148  (setq end (length string))
    149   (let ((left-end) (right-end))
     149  (let (left-end right-end)
    150150    (do ((index 0 (+ index 1)))
    151151        ((or (= index end) (not (find (aref string index) char-bag)))
Note: See TracChangeset for help on using the changeset viewer.