Skip to main content

fgetcsv

Function fgetcsv 

Source
pub fn fgetcsv<R: BufRead>(
    reader: &mut R,
    delimiter: u8,
    enclosure: u8,
    escape: Option<u8>,
) -> Result<Option<Fields>>
Expand description

PHP fgetcsv($stream, 0, $separator, $enclosure, $escape): the fields of the next record (an open enclosure takes the following lines), or None at the end of the stream (PHP’s false).