title: Finding length of all values in an ArrayList
body: <p>For a program I'm attempting to have a nested for loop repeat along the lines of this:</p>
  
  <pre><code>for(int i = 0;i &lt; ArrayList.size();i++){
      for(int x = 0;x &lt;ArrayList.get(i).length();x++){
          //stuff
      }
  }
  </code></pre>
  
  <p>Essentially I want to repeat a for loop for every character in every index of an ArrayList but this solution doesn't seem to work. Any help appreciated!</p>
  
  <p>Edit: the arraylist will only contain strings in my case</p>