title: How many strings are produced in a .toString.split(","); call?
body: <p>Suppose I have the following code:</p>
  
  <pre><code>StringBuilder sb = new StringBuilder("521,214");
  String[] result = sb.toString().split(",");
  </code></pre>
  
  <p>My question is: does <code>toString().split(",")</code> generate 2 strings or 3 strings? 
  I know that the result String array will have 2 strings - but the <code>toString()</code> call will also generate a string as well - that isn't returned? </p>
  
  <p>Basically, I'm trying to limit the number of strings created for performance purposes and want to know if the <code>toString()</code> call brings the total number of strings created to 3?  </p>