### 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 (!n.is_valid_ip_address()) {
				return false;
			}
		}
	} else {
		Vector<String> ip = split(".");
		if (ip.size() != 4) {
			return false;
		}
		for (int i = 0; i < ip.size(); i++) {
			String n = ip[i];
			if (!n.is_valid_int()) {
				return false;
			}
			int val = n.to_int();
			if (val < 0 || val > 255) {
				return false;
			}
		}
	}
	return true;
}
bool String::is_resource_file() const {
	return begins_with("res://") && find("::") == -1;
}
bool String::is_relative_path() const {
	return !is_absolute_path();
}
String String::get_base_dir() const {