function found=findcstr(cells,str)

%function found=findcstr(cells,str)
%INPUT
%cells - cell array with strings (phonemes)
%str - string which we look for
%OUTPUT
%found - array with positions of str in cells

b=1;
for a=1:length(cells)
if strcmp(str,cells(a))
found(b)=a;
b=b+1;
end
end