Groovy web console

subscribe to the feed Subscribe
to this
site

MaiReplace

Published 2 months ago by me
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
Properties props = new Properties()
props.setProperty("key1", "value1")
props.setProperty("key2", "value2")
props.each { 
  props.setProperty(it.key, "aaa"+it.value)
  println "${it}"
}