Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: String Operations
Date: Sat, 7 Nov 2009 16:45:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <hd486g$14a$1@fred.mathworks.com>
References: <hd466l$scb$1@fred.mathworks.com> <hd47i0$jbq$1@news.eternal-september.org>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257612304 1162 172.30.248.35 (7 Nov 2009 16:45:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 7 Nov 2009 16:45:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2081836
Xref: news.mathworks.com comp.soft-sys.matlab:583236


dpb <none@non.net> wrote in message <hd47i0$jbq$1@news.eternal-september.org>...
> Chris Wright wrote:
> ...
> > I have lots of strings in the form of (that are being extracted from
> > an xml file):
> > 
> > -94%22%-4%92%-9%...
> ...
> 
> > any ideas for the best way ??
> 
> strread(s,'%d','delimiter','%')
> 
> would at least be one way (no claim for "best" :) )...
> 
> --
> 

thanks that really helps, saves me messing around with sscanf