Convert String to arrayList in groovy
<p>I have a string like: <code>String str = "[aa,bb,cc,dd]"</code>. I want to convert this to a list in groovy like <code>[aa, bb, cc, dd]</code>. Any groovy method available for this type conversion?</p>