### 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 = p_string.length();
	if (l > length()) {
		return false;
	}
	if (l == 0) {
		return true;
	}
	const char32_t *p = &p_string[0];
	const char32_t *s = &operator[](0);
	for (int i = 0; i < l; i++) {
		if (p[i] != s[i]) {
			return false;
		}
	}
	return true;
}
bool String::begins_with(const char *p_string) const {