### 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
return Color::html_is_valid(*this);
}
static const char *invalid_filename_characters = ": / \\ ? * \" | % < >";
bool String::is_valid_filename() const {
	String stripped = strip_edges();
	if (*this != stripped) {
		return false;
	}
	if (stripped.is_empty()) {
		return false;
	}
	Vector<String> chars = String(invalid_filename_characters).split(" ");
	for (const String &ch : chars) {
		if (contains(ch)) {
			return false;
		}
	}
	return true;
}
String String::validate_filename() const {