User/Console Input (read, readline, input)

,

For the Y/N choice, I like this one too:

str = Base.prompt("[Y] / N ? ") in ("","y","Y") ? "Y" : "N"
5 Likes