SSpread.LoadTextFile Method
| Explanation | Read a text file. the data delimiter can be specified in the text file. The column delimiter is used to split the column. The row delimiter is used to split the row. The default value is the line feed code. The cell delimiter is a character that is considered to be added to the left and right of the cell data when the character specified as the delimiter is included in the data. The default value is double quotes ("). The LoadTabFile method can be used to load a simple tab-delimited file. | |||||||||||||||
| Call format | LoadTextFile(URL or Reader, celldelim, coldelim, rowdelim, flags) | |||||||||||||||
| Return value | None | |||||||||||||||
| Arguments | URL or Reader | Tab-delimited file URL or Reader Object The file will be cached on local computer for faster loading from the next time onwards if URL is specified. The latest files can be acquired from the server by specifying an HttpResponse object. | ||||||||||||||
| celldelim | A string representing the cell delimiter | |||||||||||||||
| coldelim | A string representing the column delimiter | |||||||||||||||
| rowdelim | A string representing the row delimiter | |||||||||||||||
| flags | Method to read the file Specify a combination of the following values.
| |||||||||||||||
| Exception | EXT-24 | No valid Reader object specified | ||||||||||||||
| EXT-28 | An error occurred in the LoadTextFile method | |||||||||||||||
| Example of use | | |||||||||||||||
| Related item | ExportRangeToTextFile, ExportToTextFile, LoadFromFile, LoadTabFile methods HttpResponse class | |||||||||||||||