str_getcsv
Parse a CSV string into an array
&reftitle.description;
arraystr_getcsv
stringinput
stringdelimiter
stringenclosure
stringescape
Similar to fgetcsv this functions parses a
string as its input unlike fgetcsv which
takes a file as its input.
&reftitle.parameters;
input
The string to parse.
delimiter
Set the field delimiter (one character only). Defaults as a comma.
enclosure
Set the field enclosure character (one character only). Defaults as a
double quotation mark.
escape
Set the escape character (one character only). Defaults as a backslash
(\)
&reftitle.returnvalues;
Returns an indexed array containing the fields read.
&reftitle.seealso;
fgetcsv