octave-bug-tracker
[Top][All Lists]
Advanced

[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: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character)
Date: Mon, 12 Feb 2018 13:37:37 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #7, bug #53095 (project octave):

Code from comment #4 in ML 2018a prerelease:

>> str = [97, 0, 0, 98, 0, 0, 99];
str = char (str);
del = '\0';
[C, M] = strsplit (str, del);
double (M{1})

ans =

     0     0



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53095>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]