The semiconducting single-walled carbon nanotube (C-SWNT) has been synthesized by S-doping, and they have extensive potential application in electronic devices. We investigated the electronic structures of S-doped capped (5, 5) C-SWNT with different doping position using first principles calculations. It is found that the electronic structures influence strongly on the workfunction without and with external electric field. It is considered that the extended wave functions at the sidewall of the tube favor for the emission properties. With the S-doping into the C-SWNT, the HOMO and LUMO charges distribution is mainly more localized at the sidewall of the tube and the presence of the unsaturated dangling bond, which are believed to enhance workfunction. When external electric field is applied, the coupled states with mixture of localized and extended states are presented at the cap, which provide the lower workfunction. In addition, the wave functions close to the cap have flowed to the cap as coupled states and to the sidewall of the tube mainly as extended states, which results in the larger workfunction. It is concluded that the S-doped C-SWNT is not incentive to be applied in field emitter fabrication. The results are also helpful to understand and interpret the application in other electronic devices.