A={'5123(P)';'5123 ESP'} how can i search A to find the cell that has the '(P)' string?
find(~cellfun(@isempty,regexp(A,'(P)'))); is giving 1 & 2 as answer which is not correct since it should be 1 only
find
find(~cellfun(@isempty,regexp(A,'(P)'))); is giving 1 & 2 as answer which is not correct since it should be 1 only
Best Answer