As the resin passes along the intestine or is retained in the colon after administration by enema, the sodium ions are partially released and are replaced by potassium ions. For the most part, this action occurs in the large intestine, which excretes potassium ions to a greater degree than does the small intestine.