[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34709] help strsplit isn't helpful: what is P
From: |
Clem |
Subject: |
[Octave-bug-tracker] [bug #34709] help strsplit isn't helpful: what is P? |
Date: |
Mon, 31 Oct 2011 22:06:05 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 |
Follow-up Comment #1, bug #34709 (project octave):
OK, I now understand my confusion!
The SEP argument is REQUIRED, but the STRIP_EMPTY argument is OPTIONAL. The
documentation fails to explain that.
The P is probably a holdover from the C implementation indicating a string
ptr, but in the Octave world, it really means a string argument, so that the P
should be replaced by S to be consistent.
So... The problem is that the usage documentation is lacking/confusing. I
finally got strsplit to work.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34709>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/