### Godot version

4.0 beta17

### System information

Windows10

### Issue description

call `"".split()`
Is there an infinite loop inside? Function does not return.

### Steps to reproduce

"".split()

### Minimal reproduction project

N/A
if (p_chars == -1) {
		p_chars = length() - p_from;
	}
	if (is_empty() || p_from < 0 || p_from >= length() || p_chars <= 0) {
		return "";
	}
	if ((p_from + p_chars) > length()) {
		p_chars = length() - p_from;
	}
	if (p_from == 0 && p_chars >= length()) {
		return String(*this);
	}
	String s;
	s.copy_from_unchecked(&get_data()[p_from], p_chars);
	return s;
}
int String::find(const String &p_str, int p_from) const {