Oh, you put `next = searchpath.length()` in the same line.