Logo
Explore Help
Sign In
TheCloud/v
1
0
Fork 0
You've already forked v
mirror of https://github.com/vlang/v.git synced 2025-08-03 17:57:59 -04:00
Code Issues Packages Projects Releases Wiki Activity
v/vlib/encoding/csv
History
Alexander Medvednikov 951d30405f builtin: string.index_after() ?int
2025-03-12 23:03:25 +03:00
..
csv_reader_eol_test.v
encoding.csv: fix reading when there is no line ending at the end of the file (fix #22337) (#22342)
2024-09-28 17:49:40 +03:00
csv_reader_random_access.v
encoding.csv: add support for multithreading to encoding.csv.RandomAccessReader (#23677)
2025-02-09 16:50:49 +02:00
csv_reader_sequential.v
fmt: fix and simplify align of struct fields (#21995)
2024-08-05 20:23:39 +03:00
csv_reader_test.v
encoding.csv: add support for multithreading to encoding.csv.RandomAccessReader (#23677)
2025-02-09 16:50:49 +02:00
reader_test.v
…
reader.v
builtin: string.index_after() ?int
2025-03-12 23:03:25 +03:00
README_csv_reader.md
fmt: cleanup fields comments alignment and add ignore_newline config (#22027)
2024-08-12 10:56:32 +03:00
README.md
…
to_struct_arr.v
…
utils_test.v
encoding.csv: add a new utility fn new_reader_from_file/2 (#20530)
2024-01-14 19:42:01 +02:00
utils.v
encoding.csv: add a new utility fn new_reader_from_file/2 (#20530)
2024-01-14 19:42:01 +02:00
writer_test.v
…
writer.v
fmt: fix alignment of struct init fields (#22025)
2024-08-11 09:11:24 +03:00

README.md

Reader example

import encoding.csv

data := 'x,y\na,b,c\n'
mut parser := csv.new_reader(data)
// read each line
for {
	items := parser.read() or { break }
	println(items)
}

It prints:

['x', 'y']
['a', 'b', 'c']
Powered by Gitea Version: Page: 1113ms Template: 17ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API