function parseString() {
      const startChar = S[pos];
      const startPos = pos + 1;
      pos = S.indexOf(startChar, startPos);
      return S.slice(startPos, pos);
    }
Parse string in current context
@return {string}