title: How to split a string in bash delimited by /
body: <p>I have to split a string in a bash script by "/" but I tried:</p>
  
  <pre><code>for i in $(echo $www | tr "/")
  </code></pre>
  
  <p>But it did not work, any suggestion ?</p>
  
  <p>Thanks a lot.</p>