title: How to get an array of strings by separating the symbol '|'?
body: <p>String "aaaaaaaa|bbbbbbbbb|cccccccc|dddddddddd|"</p>
  
  <p>There is code</p>
  
  <pre><code> for (int i=0; i&lt;4; i++){
          mas[i]=str.substring(i,str.indexOf("|",i) );
   }
  </code></pre>
  
  <p>How to get an array of strings by separating the symbol '|'?</p>
  
  <p>SORRY, HOW to ADD CODE in Comment? in StackOverlow?</p>