Both sound equally painful which mirrors my experience on this.

For my purposes, I'm dealing with numbers that are no larger than a single portion of a SID (the numbers between the hyphens). Hence, this function is fantastically adequate for my needs.

-Ben