title: Multiple combinations logic should use switch or IF
body: <p>I am trying to write a logic when a particular string are present in switch. </p>
  
  <p>Ex: String</p>
  
  <p><code>* * * * *</code> My string will alway be in this format space between each string but the string length varies. but 5 spaces and 5 string</p>
  
  <p>Other examples:
  <code>0 * * * *</code> 
  <code>* 0 * * *</code> 
  <code>* * 12/3 * *</code> 
  <code>* * 0 0 *</code> 
  <code>0 0 * * *</code> 
  <code>* * * 0 0</code> 
  <code>* * * AA 12</code> </p>
  
  <p>What I am trying here is to write switch cases when the string present other then <code>*</code> i will run case.</p>
  
  <pre><code>switch(true):
  case '0 * * * * ':
  echo 'First string has value';
  case '`* * 0 0 * `':
  echo '3rd &amp; 4th string has value';
  case 'A B C AA 12 ':
  echo 'All string has value';
  </code></pre>
  
  <p>ect...</p>
  
  <p>I have many combinations but i am not sure switch is the correct way to achive it.</p>
  
  <p>OR LOGIC 2:</p>
  
  <p>Should I explode the string with spaces then use if condition to check 5 string?</p>