### 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 (in_decimals) {
						return "too many decimal points in format";
					}
					in_decimals = true;
					min_decimals = 0; 
					break;
				}
				case '*': { 
					if (value_index >= values.size()) {
						return "not enough arguments for format string";
					}
					Variant::Type value_type = values[value_index].get_type();
					if (!values[value_index].is_num() &&
							value_type != Variant::VECTOR2 && value_type != Variant::VECTOR2I &&
							value_type != Variant::VECTOR3 && value_type != Variant::VECTOR3I &&
							value_type != Variant::VECTOR4 && value_type != Variant::VECTOR4I) {
						return "* wants number or vector";
					}
					int size = values[value_index];
					if (in_decimals) {
						min_decimals = size;
					} else {
						min_chars = size;
					}
					++value_index;
					break;
				}
				default: {
					return "unsupported format character";
				}