string S consisting of alphabet.