Groovy web console

subscribe to the feed Subscribe
to this
site

More quotes

Published 4 months ago by shevett
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
CUSTOM_MESSAGE=/bananas are "tasty"/
CUSTOM_MESSAGE_PARAM = /-m "/ + CUSTOM_MESSAGE.replaceAll(/"/,/\\"/) + /"/
print CUSTOM_MESSAGE_PARAM