A rectangle ABCD which measures 18 by 24 units is folded once, perpendicular to diagonal AC, so that the opposite vertices A and C coincide. Find the length of the fold.

A rectangle ABCD which measures 18 by 24 units is folded once, perpendicular to diagonal AC, so that the opposite vertices A and C coincide. Find the length of the fold.