### 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.is_empty()) {
		return 0;
	}
	if (is_empty()) {
		return -1;
	}
	if (p_str.is_empty()) {
		return 1;
	}
	const char32_t *that_str = p_str.get_data();
	const char32_t *this_str = get_data();
	while (true) {
		if (*that_str == 0 && *this_str == 0) {
			return 0; 
		} else if (*this_str == 0) {
			return -1; 
		} else if (*that_str == 0) {
			return 1; 
		} else if (*this_str < *that_str) { 
			return -1;
		} else if (*this_str > *that_str) { 
			return 1;
		}
		this_str++;
		that_str++;
	}
}
signed char String::naturalnocasecmp_to(const String &p_str) const {