actually, you don't even need to state the parameters:
```D
ptrdiff_t foundIdx = indexOf(s[startIdx .. $], c, cs); 
```
should work.