# HG changeset patch # User Rik # Date 1320165180 25200 # Node ID eb12d5d5c7b9d75723b92ab3cd19b745ae6177f2 # Parent 73b2b3ca652411c46337439118c99a3250472fd5 strsplit.m: Use S instead of P to denote string argument (Bug #34709). * strsplit.m: Use S instead of P to denote string argument. Rephrase docstring to mention input variables. diff -r 73b2b3ca6524 -r eb12d5d5c7b9 scripts/strings/strsplit.m --- a/scripts/strings/strsplit.m Tue Nov 01 09:28:40 2011 -0700 +++ b/scripts/strings/strsplit.m Tue Nov 01 09:33:00 2011 -0700 @@ -17,13 +17,14 @@ ## . ## -*- texinfo -*- -## @deftypefn {Function File} {[@var{cstr}] =} strsplit (@var{s}, @var{sep}, @var{strip_empty}) -## Split a string using one or more delimiters and return a cell -## array of strings. Consecutive delimiters and delimiters at +## @deftypefn {Function File} {[@var{cstr}] =} strsplit (@var{s}, @var{sep}) +## @deftypefnx {Function File} {[@var{cstr}] =} strsplit (@var{s}, @var{sep}, @var{strip_empty}) +## Split the string @var{s} using one or more separators @var{sep} and return +## a cell array of strings. Consecutive separators and separators at ## boundaries result in empty strings, unless @var{strip_empty} is true. ## The default value of @var{strip_empty} is false. ## -## 2-D character arrays are split at delimiters and at the original column +## 2-D character arrays are split at separators and at the original column ## boundaries. ## ## Example: