I've written this to find a part of text within a string; (defun findstring (fnd str / tel val) (setq fnd (strcase fnd) str (strcase str) tel 1) (while (and tel (/= str "")) (if (= (substr str tel (strlen fnd)) fnd) (setq val tel tel nil) (if (= tel (strlen str)) (setq tel nil val nil) (setq tel (1+ tel)) ) ) ) (eval val) ) Might there already be a command for this? M