function tokenizeDoubleQuotedString(sNext, sOption, iAt) {
		var c,
			sEscape,
			bEscaping = false,
			i;

		for (i = 1; i < sNext.length; i += 1) {
			if (bEscaping) {
				bEscaping = false;
			} else {
				c = sNext[i];
				if (c === "%") {
					sEscape = sNext.slice(i + 1, i + 3);
					if (rEscapeDigits.test(sEscape)) {
						c = unescape(sEscape);
						i += 2;
					}
				}
				if (c === '"') {
					return sNext.slice(0, i + 1);
				}
				bEscaping = c === '\\';
			}
		}
		throw new SyntaxError("Unterminated string at " + iAt + ": " + sOption);
	}
function tokenizeDoubleQuotedString(sNext, sOption, iAt) {
		var c,
			sEscape,
			bEscaping = false,
			i;

		for (i = 1; i < sNext.length; i += 1) {
			if (bEscaping) {
				bEscaping = false;
			} else {
				c = sNext[i];
				if (c === "%") {
					sEscape = sNext.slice(i + 1, i + 3);
					if (rEscapeDigits.test(sEscape)) {
						c = unescape(sEscape);
						i += 2;
					}
				}
				if (c === '"') {
					return sNext.slice(0, i + 1);
				}
				bEscaping = c === '\\';
			}
		}
		throw new SyntaxError("Unterminated string at " + iAt + ": " + sOption);
	}
function tokenizeDoubleQuotedString ( sNext , sOption , iAt ) { var c , sEscape , bEscaping = false , i ; for ( i = 1 ; i < sNext . length ; i += 1 ) { if ( bEscaping ) { bEscaping = false ; } else { c = sNext [ i ] ; if ( c === "%" ) { sEscape = sNext . slice ( i + 1 , i + 3 ) ; if ( rEscapeDigits . test ( sEscape ) ) { c = unescape ( sEscape ) ; i += 2 ; } } if ( c === '"' ) { return sNext . slice ( 0 , i + 1 ) ; } bEscaping = c === '\\' ; } } throw new SyntaxError ( "Unterminated string at " + iAt + ": " + sOption ) ; }
Tokenizes a c-like string. It starts and ends with a double quote, backslash is the escape
character. Both characters may be %-encoded.

@param {string} sNext The untokenized input starting with the opening quote
@param {string} sOption The option string (for an error message)
@param {number} iAt The position in the option string (for an error message)
@returns {string} The unconverted string including the quotes.
Tokenizes a c - like string . It starts and ends with a double quote backslash is the escape character . Both characters may be % - encoded .
Tokenizes a double - quoted string