`if (startIdx < s.length)
{`