Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to detect missing values in string variables?

    thanks

  • #2
    Code:
    generate str5 svar = ""                 // generate a missing string value
    replace svar = "gnxl" if svar==""       // detect anbd replace a missing value
    replace svar = "gnxl" if missing(svar)  // another way to detect and replace a missing value

    Comment

    Working...
    X