function Util.EmulateTabstops(G,v)local d=""for l=1,#G,1 do local C=G:sub(l,l)d=d..(C=="\t"and string.rep(" ",v-#d%v)or C)end return d end return Util

function Util.EmulateTabstops(text, tabWidth)
	local result = ""
	for i = 1, #text do
		local char = text:sub(i, i)

		result = result .. (char == "\t" and string.rep(" ", tabWidth - #result % tabWidth) or char)
	end
	return result
end

return Util
