RosettaCodeData/Task/Empty-string/Nyquist/empty-string-3.nyquist

11 lines
234 B
Plaintext

;nyquist plug-in
;version 4
;type tool
;name "Empty string"
(setq emptystring "") ;; Define global variable
(if (string= emptystring "") ;;case sensitive string comparison
"The string is empty."
"The string is not empty.")