Count rows in a table that contain specific letters

3 views (last 30 days)
Dear MATLAB experts,
I am trying to count how many rows contain the following letters "DEAD - DELIST" in the second column of the table attached to this post. These are not the only letters that show up in each row. Is there any way to do this?
Thank you in advance.

Accepted Answer

David Hill
David Hill on 28 Oct 2021
nnz(contains(companyNamesJoiner.company,'DEAD - DELIST'));

More Answers (0)

Categories

Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!