This CSV library was developed by trueski and Kdoske - the original source(s) can be found here http://www.autohotkey.com/forum/viewtop ... 126#329126 and https://autohotkey.com/board/topic/5168 ... brary-lib/
(archived forum links, the code posted there is no longer valid due to errors caused by upgrading the forum software.)
The code at GH includes various fixes as documented in the readme and code.
Functions
- CSV_Load() ; Load CSV file into memory
- CSV_TotalRows() ; Return total number of rows
- CSV_TotalCols() ; Return total number of columns
- CSV_Delimiter() ; Return the delimiter used
- CSV_FileName() ; Return the filename
- CSV_Path() ; Return the path
- CSV_FileNamePath() ; Return the filename with the full path
- CSV_Save() ; Save CSV file
- CSV_DeleteRow() ; Delete a row
- CSV_AddRow() ; Add a row
- CSV_DeleteColumn() ; Delete a column
- CSV_AddColumn() ; Add a column
- CSV_ModifyCell() ; Modify an existing cell
- CSV_ModifyRow() ; Modify an existing row
- CSV_ModifyColumn() ; Modify an existing column
- CSV_Search() ; Search for text within
- CSV_SearchRow() ; Search for text within a cell within a specific row
- CSV_SearchColumn() ; Search for text within a cell within a specific column
- CSV_MatchCell() ; Search for a cell containing exactly the data specified
- CSV_MatchCellColumn() ; Search for a cell containing exactly the data specified in a specific column
- CSV_MatchCellRow() ; Search for a cell containing exactly the data specified in a specific row
- CSV_MatchRow() ; Search for a row containing exactly the data specified
- CSV_MatchCol() ; Search for a column containing exactly the data specified
- CSV_ReadCell() ; Read data from the specified cell
- CSV_ReadRow() ; Read data from the specified row
- CSV_ReadCol() ; Read data from the specified column
- CSV_LVLoad() ; Load data into a ListView in the specified gui window, ListView name variable will equal "CSV_Identifier"
- CSV_LVSave() ; Save the specified ListView as a CSV file, CSV_Identifier is the ListView's associated variable name.