フィルターのクリア

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