Groovy web console

subscribe to the feed Subscribe
to this
site

split vs tokensize

Published 2 months ago by DO
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def bar = ''.split(',')
def foo = "".tokenize(',')
println foo.size()
println foo
println bar.size()
println bar