Java: printing ArrayLists to file without [ ] ,
<p>I'm printing ArrayLists.toString() to a file and this is the result</p>

<pre><code>[FirstLine
, SecondLine
, ThirdLine
]
</code></pre>

<p>I would like to remove the [ ] and , from my output.
Should I use a for loop to print the content of my ArrayList or is there an alternative way ?</p>

<p>thanks</p>
