### 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 (length() != p_str.length()) {
		return false;
	}
	if (is_empty()) {
		return true;
	}
	int l = length();
	const char32_t *src = get_data();
	const char32_t *dst = p_str.get_data();
	
	for (int i = 0; i < l; i++) {
		if (src[i] != dst[i]) {
			return false;
		}
	}
	return true;
}
bool String::operator==(const StrRange &p_str_range) const {