title: Finding the size of a char array in Java
body: <p>I'm making a calculator and I have converted a String to a char array using</p>
  
  <pre><code>char[] b = inputString.toCharArray();
  </code></pre>
  
  <p>(inputString is my String variable)</p>
  
  <p>Because the String is an input I don't know how large the array will be. Is there an inbuilt method that allows you to find the number of elements in the array?
  Thanks in advance. </p>