-- Compiled with roblox-ts v2.0.4

local default = function(str, prefix)
	local strArr = string.split(str, "")
	local prefixArr = string.split(prefix, "")
	local l = 0
	local r = math.min(#str, #prefix) - 1
	while l <= r do
		local m = math.floor((l + r) / 2)
		if strArr[m + 1] == prefixArr[m + 1] then
			l = m + 1
		else
			r = m - 1
		end
	end
	return r + 1 >= #prefix
end
return {
	default = default,
}
