Synthesis and investigation of host-[2]rotaxanes that bind metal cations.