Groovy web console

subscribe to the feed Subscribe
to this
site
Example of Groovy string splitting (via #groovywebconsole)
tweet this snippet Tweet
this
script

Example of Groovy string splitting

Published 3 weeks ago by ESK
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def uuidString = "54c0590a-8277-4adf-905b-0a75e80eeacd 2075a7b6-7fe9-475b-8e5c-59318681df07 fe286839-f3cf-4807-a79f-3c40d0465522"
def uuidArray = uuidString.split(/\s+/)
println(uuidArray.toString())