Groovy web console

subscribe to the feed Subscribe
to this
site

Substring

Published 6 months ago by Andy Duncan with tags strings
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def s = 'abcde'
def i = 1
def j = 3
s[i..<j]