for ($i = 0; $i < count($lines); $i++)
if (strpos($lines[$i],"The river comes") >= 0)
$current = $lines[$i];
This condition does show as true exactly once which is right. $current, however, is always just a return character. I am getting so aggravated with this.
I have tried this using strval with the same result.