src/Helper/StringHelper.php
public function startsWith($string, $line)
    {
        return $string === "" || strrpos($line, $string, -strlen($line)) !== false;
    }
public function startsWith($string, $line)
    {
        return $string === "" || strrpos($line, $string, -strlen($line)) !== false;
    }
Returns if value starts with a value

@param string $string The value to search for
@param string $line   The line to test

@return bool Returns if the line starts with value