Groovy web console

subscribe to the feed Subscribe
to this
site

Trim Version

Published 6 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def assemblySemVer = '1.7.0.0'
def currentVersion = assemblySemVer.split('\\.')[0..2].join('.')
assert '1.7.0' == currentVersion