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: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character)
Date: Fri, 9 Feb 2018 02:48:50 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Update of bug #53095 (project octave):

        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #2:

Confirmed on Linux as well:


octave:1> asciicode = [97, 0, 0, 98, 0, 0, 99];
octave:2> str = char(asciicode);
octave:3> delimiter = '\0';
octave:4> C = strsplit(str,delimiter)
error: regexp: missing ) at position 1 of expression
error: called from
    strsplit at line 212 column 19


    _______________________________________________________

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]