Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

finding an exact word in a string using a variable

조회 수: 1 (최근 30일)
gmltn1212
gmltn1212 2020년 7월 5일
마감: madhan ravi 2020년 7월 5일
Hi I am trying to find a location of an exact word here....
str = 'I woke up to people talking loud outside so I decided to go talk to them and we all started talking loudly'
word = 'talk'
I tried to use strfind here but it also returns the location of talking...
location = strfind(str, word)

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by