本帖最后由 作者 于 2009-3-2 13:48:10 编辑
;; 删除去除字符串中的所有空格 ;; by 小李子 木子CAD 2009-3-2 (defun No32strs (str / no item NewLst) (setq no 0 NewLst "") (repeat (strlen str) (setq item (substr str (setq no (1+ no)) 1)) (if (/= item " ") (setq NewLst (strcat NeWLst item)) ) ) NewLst )
|