Skip to content

Commit 9647552

Browse files
committed
README.md
1 parent e4f8b69 commit 9647552

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Headerless files
1212
* Custom delimiter
1313
* Custom quote character
14-
* Parsing row at a time
14+
* Parsing one row at a time
1515
* [Troubleshooting](#troubleshooting)
1616
* Checking if the file was parsed correctly
1717
* Platformio and SD library issue
@@ -290,9 +290,9 @@ Quote character is 5th parameter of the constructor. It's double quote (") by de
290290
CSV_Parser cp(csv_str, /*format*/ "sLdcfxs", /*has_header*/ true, /*delimiter*/ ',', /*quote_char*/ "'");
291291
```
292292

293-
### Parsing row at a time
293+
### Parsing one row at a time
294294
Large files often can't be stored in the limited memory of microcontrollers. For that reason it's possible to parse the file row by row.
295-
See the [parsing_row_by_row.ino](./examples/parsing_row_by_row/parsing_row_by_row.ino) example for more information. When deciding to parse row by row, it is suggested to not combine it with the default way of parsing. Please note that during row by row parsing the `cp.getRowsCount()` method will return 0 or 1 instead of the total number of previously parsed rows.
295+
See the [parsing_row_by_row.ino](./examples/parsing_row_by_row/parsing_row_by_row.ino) and [parsing_row_by_row_sd_card.ino](./examples/parsing_row_by_row_sd_card/parsing_row_by_row_sd_card.ino) examples for more information. When deciding to parse row by row, it is suggested to not combine it with the default way of parsing (using the same object). Please note that during row by row parsing the `cp.getRowsCount()` method will return 0 or 1 instead of the total number of previously parsed rows. In case of parsing one row at a time the integer-based indexing of `cp` object should be done (for efficiency and because the header is parsed after the first `parseRow()` call so string-based indexing can't really be used before the first `parseRow()` call), see examples for more details.
296296

297297

298298
## Troubleshooting

0 commit comments

Comments
 (0)