functional overview
Convert CSV to dictionary.
Details of Functions
subject (of taxation, etc.)Converts the CSV specified in the following table to a dictionary.
headeris present, the first line is stored as the key and the second and subsequent lines are stored as values.
delimiterAvailable escape sequences for
delimiter | Feature |
---|---|
\t | horizontal tabulation |
- note
- If the following "CSV" is read with "Yes" in the header and "," as the delimiter, the result will be the "Dictionary to be created".
CSVNumbers,English,Kanji
123,ABC,1,2,3
456,DEF,456
key value figure 123 English (language) ABC kanji one, two, three and four
key value figure 456 English (language) DEF kanji forty-five and sixty
parameter
- argument (e.g. function, program, programme)
-
subject (of taxation, etc.) character string data
Specify CSV.header Specifies whether or not a header is present.
- ant
- nashi (Pyrus pyrifolia, esp. var. culta)
delimiter character string data
Specifies the field delimiter.
- return value
-
Dictionary (associative array)
Returns a dictionary of converted CSVs.