def _symtostr(line, i):
	opening = i + 1
	closing = 0

	ci = line.find('"', opening)
	while ci != -1:
		if line[ci - 1] != '\\' or line[ci - 2] == '\\':
			closing = ci
			break
		ci = line.find('"', ci + 1)

	finalstr = line[opening:closing].decode('string-escape')
	return finalstr, i + (closing-opening) + 1
dataset/ETHPy150Open adamb70/CSGO-Market-Float-Finder/pysteamkit/vdf.py/_symtostr/original