How to split sentence?

4 Ansichten (letzte 30 Tage)
Balkar Singh
Balkar Singh am 26 Okt. 2020
Kommentiert: Balkar Singh am 27 Okt. 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.

Akzeptierte Antwort

KSSV
KSSV am 26 Okt. 2020
s = strsplit(cover_str,'.')
  9 Kommentare
KSSV
KSSV am 26 Okt. 2020
Read about strfind.
Balkar Singh
Balkar Singh am 27 Okt. 2020
Ok Sir..Thanks

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by