How to split sentence?

4 views (last 30 days)
Balkar Singh
Balkar Singh on 26 Oct 2020
Commented: Balkar Singh on 27 Oct 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.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!