Copolymers of ethyl acrylate, methyl methacrylate and a low content of a methacrylic acid ester with quaternary ammonium groups (trimethylammonioethyl methacrylate chloride). The ammonium groups are present as salts and make the polymers permeable. Functional sustained/extended release polymer for customized release formulations.