An operator used to access an indexed element of the string.
const_reference operator[](size_type pos) const; reference operator[](size_type pos);