Groovy web console

subscribe to the feed Subscribe
to this
site

split gotcha

Published 2 weeks ago by Anonymous
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
String x = "the.quick.brown.fox.jumped.over.the.lazy.dog"
println x.split('.')
println x.split(/\./)