Skip to main content

Each row in CSV/TXT

Yield each data row of a CSV or delimited text file, or of an open CSV/TXT session, as a record keyed by column name.

Loop type in the CSV/TXT toolkit · id ooa.csv/rows · 7 inputs, no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
PathFileNoFile path (or use an open session).
DelimiterStringNo,Field delimiter: , ; | tab, newline (one value per line), or regional (the Windows list separator: ; when the machine's decimal separator is a comma, otherwise ,).
First row is the headerBooleanNotrueFirst row holds column names.
EncodingStringNoutf-8Text encoding; auto reads the file's own.
TrimStringNononeRemove spaces at the start and/or end of every value.
Detect numbers and datesBooleanNofalseTurn values that are clearly numbers, true/false or ISO dates into typed values.
SessionStringNoGo through the rows of this open CSV/TXT session instead of a file.