The electromagnetic response of an arbitrary array of multiple slits perforated on a metallic film and filled with different slit dielectric materials is studied in an analytical way. As a specific example, we consider a tripleslit structure perforated on a gold film, where the middle slit is used for the surface-plasmon excitation by a narrow Gaussian beam while the other two side slits are used for the detection of a transmitted surface-plasmon wave propagated from the middle opaque slit either at a particular wavelength or at double that wavelength, respectively. For this particular structure, we show that only one of the two side observation slits can be in a passing state for a particular wavelength, but the other blocked slit will change to a passing state at double that wavelength with a specific design for the slit depth, silt dielectric and inter-slit distance in the deep subwavelength regime. In this sense, we create a surface-plasmon mediated light diffraction in the near-filed regime.