view deseq-hts_1.0/tools/separate.m @ 5:c9b3f4a5ec60 draft

Deleted selected files
author vipints
date Wed, 27 Jun 2012 15:37:54 -0400
parents 94a108763d9e
children
line wrap: on
line source

function f = separate(str, delim)

f={};
idx=[0 find(str==delim) length(str)+1];
for i=1:length(idx)-1
    f{i}=deblank(str(idx(i)+1:idx(i+1)-1));
end;