Home > freetb4matlab > strings > strsplit.m

strsplit

PURPOSE ^

% Split a single string using one or more delimiters and return a cell

SYNOPSIS ^

function s = strsplit (p, sep, strip_empty = false)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{s}] =} strsplit (@var{p}, @var{sep}, @var{strip_empty})
% Split a single string using one or more delimiters and return a cell
% array of strings.  Consecutive delimiters and delimiters at
% boundaries result in empty strings, unless @var{strip_empty} is true.
% The default value of @var{strip_empty} is false.
% @seealso{strtok}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003