Clemson is right.
Although cropping the barrel is possible (and has been done many times before), the better of the two choices would be barrel replacement. Unless you are having much more work done to the piece in addition to the barrel swap, it's not cost effective. The gap between the cylinder face and forcing cone is critical. Too little space, the cylinder will drag and bind and disable the firearm. Too much space, you risk topstrap cutting, loss of velocity, shaving/spitting, etc.
At the S&W factory, they install barrels that are, literally, too long. You cannot close the cylinder because the barrel protrudes too much. A reverse cutter is inserted into the barrel from the muzzle and the breech/forcing cone end is shaved away with the barrel installed until the desired gap is reached, tested with feeler gauges. Swapping the barrels isn't like sticking on new grips. It's a big deal. Best to just buy one with the desired barrel length as is.
Pz