Application of ion-exchange reactions between membranes and resins.