Comment Comment by remram This returns 0 for '1.2.3' and '1.2'. Might be fine if you are sure they have the same number of components, but otherwise is worth checking. parent remram 4 years ago