Groovy web console

subscribe to the feed Subscribe
to this
site
shizzle (via #groovywebconsole)
tweet this snippet Tweet
this
script

shizzle

Published 2 months ago by JJ
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def json = '"GCDS_NOC,LANFR,PBIV2030,PESI5001,PEST5001,PESD5001,PESM0005,PVOCS5001"';

def words(String text) {
    text.replace(',','","').trim();
}

println words(json);