4 ms·
I'm looking at the code but I don't quite see that? auto start= result.indexOf("http://"); ... auto end= result.indexOf("\r", start); ... m_describeU
by matt_kn 9mo ago
I'm looking at the code but I don't quite see that?
auto start= result.indexOf("http://");
...
auto end= result.indexOf("\r", start);
...
m_describeUrl= result.sliced(start, end - start);
I don't think end can ever be < start (other than < 0 if not found, which is handled).
- jeffbee 9mo agoBecause I'm dumb