Groovy web console

subscribe to the feed Subscribe
to this
site

test

Published 2 months ago by test
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
file= "1"
file2= ["1","2"]
something= file.toString().split(",").collect().join("', '").replace("]","").replace("[","")
something2= file2.toString().split(",").collect().join("', '").replace("]","").replace("[","")

println something
println something2