How to split sentence?

5 visualizaciones (últimos 30 días)
Balkar Singh
Balkar Singh el 26 de Oct. de 2020
Comentada: Balkar Singh el 27 de Oct. de 2020
cover_str = 'Great things in business done by one person. They done by a team of people.'
I want to split the above string into two sentences like
s1='Great things in business done by one person'.
s2='They done by a team of people'.
How can i do the above process in Matlab.
With regards.

Respuesta aceptada

KSSV
KSSV el 26 de Oct. de 2020
s = strsplit(cover_str,'.')
  9 comentarios
KSSV
KSSV el 26 de Oct. de 2020
Read about strfind.
Balkar Singh
Balkar Singh el 27 de Oct. de 2020
Ok Sir..Thanks

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by