in reply to Re: Calculate the overlap length between two rangesin thread Calculate the overlap length between two ranges