--[=[
	Removes a prefix from a string if it exists
	@param str string
	@param prefix string
	@return string
]=]

function String.removePrefix(str: string, prefix: string): string
	if str:sub(1, #prefix) == prefix then
		return str:sub(#prefix + 1)
	else
		return str
	end
end
