Azzera filtri
Azzera filtri

How to split sentence?

5 visualizzazioni (ultimi 30 giorni)
Balkar Singh
Balkar Singh il 26 Ott 2020
Commentato: Balkar Singh il 27 Ott 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.

Risposta accettata

KSSV
KSSV il 26 Ott 2020
s = strsplit(cover_str,'.')
  9 Commenti
KSSV
KSSV il 26 Ott 2020
Read about strfind.
Balkar Singh
Balkar Singh il 27 Ott 2020
Ok Sir..Thanks

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Characters and Strings 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