RosettaCodeData/Task/Empty-string/Emacs-Lisp/empty-string-2.l

6 lines
122 B
Common Lisp

(defvar str "" "An empty string")
(if (length= str 0)
(message "string is empty")
(message "string is not empty"))