Groovy web console

subscribe to the feed Subscribe
to this
site

String take

Published 2 months ago by Andy Duncan with tags strings
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def s = 'abcdefgh'
s.take(5)