CheapSkate wrote: ... > if s[-1] returns a single element, why woulnd't it return " ? > Single character are strings of length 1(as u said) and " is single > character right? Nope: '', the empty string, is 0 characters, not 1 character. Alex