A fluorescent sensor with a detection level of pM for Cd(2+) and nM for Cu(2+) based on different mechanisms.