[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57612] textscan omits final column value for
From: |
Kai Torben Ohlhus |
Subject: |
[Octave-bug-tracker] [bug #57612] textscan omits final column value for CSV is value is empty |
Date: |
Thu, 16 Jan 2020 21:34:38 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 |
Follow-up Comment #2, bug #57612 (project octave):
Just to acknowledge the title of this bug report. Octave 5.1.0, 5.1.90, and
dev and Matlab R2019a behave the same for the example with final CSV value:
newline = @() sprintf('\n');
str = ['102,19700101,,0.485,42', newline(), '111,19700101,,0.48,42']
C = textscan (str, '%s%f%q%f%q', 'Delimiter', ',')
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57612>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/