Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!newsfeed.stanford.edu!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: extracting data from long message
Date: Thu, 2 Aug 2007 20:34:00 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 15
Message-ID: <f8tf3o$huk$1@canopus.cc.umanitoba.ca>
References: <f8tb9v$mmp$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1186086840 18388 192.70.172.160 (2 Aug 2007 20:34:00 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Thu, 2 Aug 2007 20:34:00 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:422244


In article <f8tb9v$mmp$1@fred.mathworks.com>,
Bill Jordan <billulster@mathworks.com> wrote:

>I have a long message, I want to extract data groups from 
>this messsage and save each one separately. Foe example,

>MSG= ('12.34 05/06/06 : computer-group: network-groups')

>Not the separation beween each group is : . I need to 
>store each grop separately in other messages or arrays!

submessages = textscan(MSG, '%s', 'Delimeter', ':')
-- 
  There are some ideas so wrong that only a very intelligent person
  could believe in them.                              -- George Orwell