Detached antenna and connecting wire length
As PeterJ says, the usual solution is coaxial cable. Because the wire down the centre is shielded by the outer braid (which should be connected to ground), it's not "visible" as an antenna and doesn't affect its effective length.

The 50 ohm controlled impedance avoids distortion of the signal down the length of the coax.