title: What is the best practice for checking if the edit not empty
body: <p>I'm wondering about the best practice to validate an edit is not empty</p>
  
  <pre><code>  if edt1.Text &lt;&gt; '' then
      //DoSomething
    else
    ShowMessage('Check 1');
  
    if edt1.Text = '' then
    ShowMessage('Check 2')
    else
    //DoSomething
  </code></pre>