Groovy web console

subscribe to the feed Subscribe
to this
site

appending value to string

Published 4 weeks ago by tabassum with tags add value to string
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
def string = ["name1", "name2", "name3"]
println string
string.add("name4")
println string