Search For String within String
Ältere Kommentare anzeigen
I have a large set of dates and times in a string array and I need to search for a smaller string of dates and times within the large set. I have tried using strfind and strcmp but can't seem to manage it.
It's also possible that the dates and times won't match up perfectly (they may differ by some number of seconds, I will figure out a suitable time when necessary), so is it then also possible to use a conditional statement on a string so that I can do the search?
5 Kommentare
Bob Thompson
am 20 Mai 2019
KSSV
am 21 Mai 2019
Read about ismemebr, ismemebrtol. These are the function which will help you.
Dean Kennedy
am 21 Mai 2019
Stephen23
am 21 Mai 2019
"I have a large set of dates and times in a string array ..."
This is what I found in the uploaded files (opened using R2015b):
>> FileTimes
FileTimes =
""
>> SDT
SDT =
""
>>
Dean Kennedy
am 21 Mai 2019
Antworten (0)
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!