Groovy web console

subscribe to the feed Subscribe
to this
site

111

Published 4 weeks ago by 11
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def str = 'mkemc kemc kemce kcmekcm dekcm kmckmckdmc,dmc,dc,dcd'

print str.substring(0, str.length() > 200 ? 200 : str.length())