title: Can string functions be executed within a Select-Case statement?
body: <p>In <code>VB.NET</code>, how can I achieve the following logic?</p>
  
  <pre><code>Select Case testString
      Case Contains("ABC") : Debug.Print "ABC"
      Case Contains("XYZ") : Debug.Print "XYZ"
      Case Else : Debug.Print "Other"
  End Select
  </code></pre>