export function splitEvery(str: string, amount: number) {
	let ret: string[] = [];
	for (let i = 0; i < str.length; i++) {
		if (i % amount === 0)
			ret.push('');
		ret[ret.length - 1] += str[i]
	}
	return ret;
}