Count rows in a table that contain specific letters

2 visualizaciones (últimos 30 días)
chiefjia
chiefjia el 28 de Oct. de 2021
Respondida: David Hill el 28 de Oct. de 2021
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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Tables en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by