Home > brede > brede_str_split.m

brede_str_split

PURPOSE ^

brede_str_split - Split a string into substring

SYNOPSIS ^

function S = brede_str_split(s, p, varargin)

DESCRIPTION ^

 brede_str_split      - Split a string into substring

       S = brede_str_splitword(s, p)

       Input:  s     String or cellstring
               p     Substring to split

       Output: S     Cellstr of splited strings, or cell of cellstr
                     if input is a cellstr.

       Split a string into substrings separated with the 'p'
       substring. 

       Example:
         s = 'Alexander, Delong, Strick 1986<p>Bartley, 1959';
         brede_str_split(s, '<p>')

       See also BREDE, BREDE_STR, BREDE_STR_SPLITWORD.

 $Id: brede_str_split.m,v 1.3 2004/05/12 17:05:01 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005