--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deseq-hts_1.0/tools/separate.m Wed May 09 20:43:47 2012 -0400 @@ -0,0 +1,7 @@ +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;