Electron impact excitation of the resonance lines of alkali-like positive ions