chickadee » semantic-version » version-depth-!

version-depth-! VER CNTprocedure

Returns VER with less "depth", as CNT elements are dropped, along with the corresponding punctuation.

VER
semantic-version ; version to extend.
CNT
fixnum ; element count.