### 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 (is_empty() && p_str[0] == 0) {
		return false;
	}
	if (is_empty()) {
		return true;
	}
#ifdef WINDOWS_ENABLED
	
	return is_str_less(get_data(), String::utf16((const char16_t *)p_str).get_data());
#else
	
	return is_str_less(get_data(), (const char32_t *)p_str);
#endif
}
bool String::operator<(const char32_t *p_str) const {
	if (is_empty() && p_str[0] == 0) {
		return false;
	}
	if (is_empty()) {
		return true;
	}
	return is_str_less(get_data(), p_str);
}
bool String::operator<(const String &p_str) const {
	return operator<(p_str.get_data());
}
signed char String::nocasecmp_to(const String &p_str) const {