- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for LazyQuotes (0.18 sec)
-
src/encoding/csv/reader_test.go
Output: [][]string{{"#1", "2", "3"}, {"a", "b", "c"}}, }, { Name: "LazyQuotes", Input: `§a "word",§"1"2",§a",§"b`, Output: [][]string{{`a "word"`, `1"2`, `a"`, `b`}}, LazyQuotes: true, }, { Name: "BareQuotes", Input: `§a "word",§"1"2",§a"`, Output: [][]string{{`a "word"`, `1"2`, `a"`}}, LazyQuotes: true, }, { Name: "BareDoubleQuotes", Input: `§a""b,§c`,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 14 04:25:13 UTC 2022 - 19.1K bytes - Viewed (0) -
src/encoding/csv/reader.go
// made and records may have a variable number of fields. FieldsPerRecord int // If LazyQuotes is true, a quote may appear in an unquoted field and a // non-doubled quote may appear in a quoted field. LazyQuotes bool // If TrimLeadingSpace is true, leading white space in a field is ignored. // This is done even if the field delimiter, Comma, is white space.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:32:28 UTC 2024 - 14.2K bytes - Viewed (0) -
internal/s3select/csv/reader_contrib_test.go
}, { // This works since LazyQuotes is true: file: "invalid-badextraq.csv", recordDelimiter: "\n", fieldDelimiter: ",", sendErr: nil, header: true, wantColumns: []string{"header1", "header2", "header3"}, wantFields: "ok1,ok2,ok3\n" + `a word,"b"""` + "\n", wantErr: io.EOF, }, { // This works since LazyQuotes is true:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 38.5K bytes - Viewed (0)