[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53095] strsplit fails to split a string with
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character) |
Date: |
Sun, 11 Feb 2018 23:24:50 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #4, bug #53095 (project octave):
I have a patch for the first part of this bug. I'd like to know how Matlab
handles the second output (matches). Could someone run the following
str = [97, 0, 0, 98, 0, 0, 99];
str = char (str);
del = '\0';
[C, M] = strsplit (str, del);
double (M{1})
In Octave this is returning an empty matrix ([]), but as I understand this it
should return [0 0].
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53095>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), anonymous, 2018/02/08
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Philip Nienhuis, 2018/02/09
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Avinoam Kalma, 2018/02/09
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Dmitri A. Sergatskov, 2018/02/09
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character),
Rik <=
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Anushi Maheshwari, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Philip Nienhuis, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Anushi Maheshwari, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Michael Godfrey, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/13
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Anushi Maheshwari, 2018/02/13
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/13