Groovy web console

subscribe to the feed Subscribe
to this
site

extracting substring

Published 1 month ago by Tabassum with tags groovy
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts

String a ="groovy is programming language"
println(a.substring(4))
println(a.substring(5,15))