### 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_len < 0) {
		p_len = length() + p_len;
	}
	if (p_len <= 0) {
		return "";
	}
	if (p_len >= length()) {
		return *this;
	}
	return substr(0, p_len);
}
String String::right(int p_len) const {
	if (p_len < 0) {
		p_len = length() + p_len;
	}
	if (p_len <= 0) {
		return "";
	}
	if (p_len >= length()) {
		return *this;
	}
	return substr(length() - p_len);
}
char32_t String::unicode_at(int p_idx) const {
	ERR_FAIL_INDEX_V(p_idx, length(), 0);
	return operator[](p_idx);
}
String String::indent(const String &p_prefix) const {