Date: Mar 14, 2013 6:50 PM
Author: Bruno Luong
Subject: Re: Searchnig for a string in a array

>> A = {100, 200, 'Hello', 'World is here', 'Is'}

A =

[100] [200] 'Hello' 'World is here' 'Is'

>> b = cellfun('isclass',A,'char')

b =

0 0 1 1 1

>> i = find(b);
>> i(~cellfun('isempty',strfind(lower(A(b)),'is')))


ans =

4 5

% Bruno