help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strsplit on cell of strings


From: Jaroslav Hajek
Subject: Re: strsplit on cell of strings
Date: Sun, 10 Oct 2010 17:13:52 +0200

On Sun, Oct 10, 2010 at 12:29 PM, Dr. Johannes Zellner
<address@hidden> wrote:
> Hi,
>
> strplit(c, ';')
>
> doesn't work apparently if c is a cell of strings.
> how can I do a strsplit on a cell of strings?
>

cellfun (@(x) strsplit (x, ';'), c, "uniformoutput", false)

this could probably be made faster if strsplit supported the operation
directly. Do you have a real-life example?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]