### 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
int l = length();
	if (l == 0 || !p_string) {
		return false;
	}
	const char32_t *str = &operator[](0);
	int i = 0;
	while (*p_string && i < l) {
		if ((char32_t)*p_string != str[i]) {
			return false;
		}
		i++;
		p_string++;
	}
	return *p_string == 0;
}
bool String::is_enclosed_in(const String &p_string) const {