Groovy web console

subscribe to the feed Subscribe
to this
site

Extract beginning of string (prefix)

Published 4 months ago by Valentin
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def s = 'été torride'
def t = s.take(5)
t