trimVersionNumber function

Trim version number off a compound package name