Count rows in a table that contain specific letters

4 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Tables in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by