### 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
String new_string;
	for (int i = 0; i < length(); i++) {
		
		if (operator[](i) < 32) {
			continue;
		}
		new_string += operator[](i);
	}
	return new_string;
}
String String::lstrip(const String &p_chars) const {