title: Validating user input in inputbox
body: <p>When I run the following snippet, and enter an acceptable value, I get the desired result.</p>
  
  <pre><code>do while len(strselect) = 0  'or strselect&lt;&gt;"1" or strselect&lt;&gt;"2" or strselect&lt;&gt;"3"
  strselect = inputbox ("Please select:" &amp;vbcrlf&amp;vbcrlf&amp;_  
  "1. Add an entry" &amp;vbcrlf&amp;vbcrlf&amp;_  
  "2. Remove an entry" &amp;vbcrlf&amp;vbcrlf&amp;_  
  "3. Search for an entry" &amp;vbcrlf, "Contact Book")
  if isempty(strselect) then
  wscript.quit()
  elseif strselect="1" then
  wscript.echo "You chose 1"
  elseif strselect="2" then
  wscript.echo "You chose 2"
  elseif strselect="3" then
  wscript.echo "You chose 3"
  end if
  loop
  </code></pre>
  
  <p>However if I try constrain the validation process further (by including the remark in the <code>do while</code> conditions), and run the snippet again, I get the corresponding <code>if</code> condition triggered, but the <code>do</code> loop continues, instead of exiting.</p>
  
  <p>I've tried using <code>isnumeric</code> and <code>cstr</code> on the <code>do</code> loop <code>strselect</code> conditions, with no joy... What am I missing to get the darn thing to exit the loop?</p>