title: Using Like Within Case Structure
body: <p>I have a case structure the decodes a string value and actions code based on the value.  The case structure is pretty straight forward where it decodes predefined values (e.g. "/Start", "/Run", etc).  However, I have one part of this case structure where I need to decode a changing value.</p>
  
  <p>So for example, I need to capture the string value of "/IP:blah" (where blah will always change) and execute code based on blah.</p>
  
  <p>My code would look something like this:</p>
  
  <pre><code>Select Case Message
  Case Like "/SetServerIP:*"
                          'Determine IP from Message string (*)
                          'Set new IP address of server in my.settings
  End Select
  </code></pre>
  
  <p>Not sure how this can be achieved.
  Any help appreciated, Thanks.</p>