A dual chemosensor for Cu2+ and Hg2+ based on a rhodamine-terminated water-soluble polymer in 100% aqueous solution.