Sha256: 17187444c11022a0563161f85131bc3d6f2c53a0e8c2a7797cbc121a300d8053

Contents?: true

Size: 363 Bytes

Versions: 20

Compression:

Stored size: 363 Bytes

Contents

====== Option +strip+

Specifies the boolean value that determines whether
whitespace is stripped from each input field.

Default value:
  CSV::DEFAULT_OPTIONS.fetch(:strip) # => false

With default value +false+:
  ary = CSV.parse_line(' a , b ')
  ary # => [" a ", " b "]

With value +true+:
  ary = CSV.parse_line(' a , b ', strip: true)
  ary # => ["a", "b"]

Version data entries

20 entries across 20 versions & 4 rubygems

Version Path
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/parsing/strip.rdoc
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/parsing/strip.rdoc
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/parsing/strip.rdoc
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/csv-3.3.0/doc/csv/options/parsing/strip.rdoc
csv-3.3.0 doc/csv/options/parsing/strip.rdoc
csv-3.2.9 doc/csv/options/parsing/strip.rdoc
csv-3.2.8 doc/csv/options/parsing/strip.rdoc
csv-3.2.7 doc/csv/options/parsing/strip.rdoc
csv-3.2.6 doc/csv/options/parsing/strip.rdoc
csv-3.2.5 doc/csv/options/parsing/strip.rdoc
csv-3.2.4 doc/csv/options/parsing/strip.rdoc
csv-3.2.3 doc/csv/options/parsing/strip.rdoc
csv-3.2.2 doc/csv/options/parsing/strip.rdoc
csv-3.2.1 doc/csv/options/parsing/strip.rdoc
csv-3.2.0 doc/csv/options/parsing/strip.rdoc
csv-3.1.9 doc/csv/options/parsing/strip.rdoc
csv-3.1.8 doc/csv/options/parsing/strip.rdoc
csv-3.1.7 doc/csv/options/parsing/strip.rdoc
csv-3.1.6 doc/options/parsing/strip.rdoc
csv-3.1.5 doc/strip.rdoc