How to split sentence?

조회 수: 5 (최근 30일)
Balkar Singh
Balkar Singh 2020년 10월 26일
댓글: Balkar Singh 2020년 10월 27일
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.

채택된 답변

KSSV
KSSV 2020년 10월 26일
s = strsplit(cover_str,'.')
  댓글 수: 9
KSSV
KSSV 2020년 10월 26일
Read about strfind.
Balkar Singh
Balkar Singh 2020년 10월 27일
Ok Sir..Thanks

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by