The best antenna for reception is an antenna cut for the desired frequencies. A half wavelength antenna is ideal. For automotive purpose a quarter wavelength is used. The car body acts as the other quarter wavelength. The reception pattern of the antenna is generally in the area of most metal. For example If the antenna is mounted on the roof the signal is received more from front to rear and less from side to side. The length of antenna should be 29.5 inches mounted vertically. For AM band reception on a car radio isn't an issue because of internal trimming capacitors to compensate for the shortness of antenna.
The wavelength on the FM band is about 3 meters, AM band in North America vary between 560 meters to 176 meters in length.
For a CB antenna to work it would have to be seriously modified. You can take a mag mount antenna and remove the base loading coil winding and put a jumper wire across were the loading coil was. Then from the base measure from there to the tip of the steel whip and cut at 29.5 inches from the base. Cut the coaxial cable to the length you need providing the length is an odd multiple of 29.5 inches. Attach connector. Plug in . ROCK ON... :)
A lot of times longer is not nessesarily better sometimes actually worse.