Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

finding an exact word in a string using a variable

1 Ansicht (letzte 30 Tage)
gmltn1212
gmltn1212 am 5 Jul. 2020
Geschlossen: madhan ravi am 5 Jul. 2020
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)

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by