concept join in category groovy
appears as: join

This is an excerpt from Manning's book Making Java Groovy: Foreword by Guillaume Laforge.
def url = base + [sensor:false, address: [stadium.name, stadium.city, stadium.state].collect { URLEncoder.encode(it,'UTF-8') }.join(',') ].collect {k,v -> "$k=$v"}.join('&')
To create the query string, use another method added by Groovy to collections, called join. The join method takes a single argument that’s used as the separator when assembling the elements into a string. To create a query string, invoke join with an ampersand as an argument: