### 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 (is_finite) {
							number_str = number_str.pad_decimals(min_decimals);
						}
						int initial_len = number_str.length();
						
						int pad_chars_count = val < 0 ? min_chars - 1 : min_chars;
						String pad_char = (pad_with_zeros && is_finite) ? String("0") : String(" "); 
						if (left_justified) {
							number_str = number_str.rpad(pad_chars_count, pad_char);
						} else {
							number_str = number_str.lpad(pad_chars_count, pad_char);
						}
						
						if (val < 0) {
							if (left_justified) {
								number_str = number_str.insert(0, "-");
							} else {
								number_str = number_str.insert(pad_with_zeros ? 0 : number_str.length() - initial_len, "-");
							}
						}
						
						str += number_str;
						if (i < count - 1) {
							str += ", ";
						}
					}
					str += ")";
					formatted += str;
					++value_index;
					in_format = false;