php man page for str_getcsv

Query: str_getcsv

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

STR_GETCSV(3)								 1							     STR_GETCSV(3)

str_getcsv - Parse a CSV string into an array

SYNOPSIS
array str_getcsv (string $input, [string $delimiter = ","], [string $enclosure = '"'], [string $escape = ""])
DESCRIPTION
Parses a string input for fields in CSV format and returns an array containing the fields read.
PARAMETERS
o $input - The string to parse. o $delimiter - Set the field delimiter (one character only). o $enclosure - Set the field enclosure character (one character only). o $escape - Set the escape character (one character only). Defaults as a backslash ( )
RETURN VALUES
Returns an indexed array containing the fields read.
SEE ALSO
fgetcsv(3). PHP Documentation Group STR_GETCSV(3)
Related Man Pages
regexp::common::delimited5.18(3) - mojave
regexp::common::delimited(3) - osx
splfileobject(3) - php
preg_quote(3) - php
splfileobject.fputcsv(3) - php
Similar Topics in the Unix Linux Community
script to load data from csv file
Reconciling two CSV files using shell scripting