title: Join strings with a separator and stripping empty ones
body: <p>I need the code logic for the following:</p>
  
  <p>These are the three String variables,</p>
  
  <pre><code>String s1 = "A"; String s2 = "B"; String s3 = "C";
  </code></pre>
  
  <p>I need to have the following outputs based on the given scenarios:</p>
  
  <ul>
  <li>Scenario #1 Actual output should be "A / B / C"</li>
  <li>Scenario #2 When s1 is empty, output should be "B / C"</li>
  <li>Scenario #3 When s2 is empty, output should be "A / C"</li>
  <li>Scenario #4 When s3 is empty, output should be "A / B"`</li>
  </ul>
  
  <p>Is this possible using ternary operation?</p>