### 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
int limit = length() - p_str.length();
	if (limit < 0) {
		return -1;
	}
	
	if (p_from < 0) {