Groovy web console

subscribe to the feed Subscribe
to this
site

Escape parameters

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}"/
print CUSTOM_MESSAGE_PARAM