### 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
copy_from(p_cstr);
}
const char *CharString::get_data() const {
	if (size()) {
		return &operator[](0);
	} else {
		return "";
	}
}
void CharString::copy_from(const char *p_cstr) {
	if (!p_cstr) {
		resize(0);
		return;
	}
	size_t len = strlen(p_cstr);
	if (len == 0) {
		resize(0);
		return;
	}
	Error err = resize(++len); 
	ERR_FAIL_COND_MSG(err != OK, "Failed to copy C-string.");
	memcpy(ptrw(), p_cstr, len);
}
Error String::parse_url(String &r_scheme, String &r_host, int &r_port, String &r_path) const {