Sulphur-rich functionalized calix[4]arenes for selective complexation of Hg2+ over Cu2+, Zn2+ and Cd2.