Selective detection of chlorine at room temperature utilizing single-walled carbon nanotubes functionalized with platinum nanoparticles synthesized via ultraviolet irradiation