character extraction from the output
1 view (last 30 days)
Show older comments
SHOBA MOHAN
on 1 Feb 2018
Commented: SHOBA MOHAN
on 4 Feb 2018
I done number plate extraction and recognition and want to check the output having Pwdsymbol or not. Obtained output is PwDsymbol012345. How can i do it?
1 Comment
Walter Roberson
on 1 Feb 2018
Are you trying to determine whether the 9-character string 'Pwdsymbol' occurs somewhere within a string?
Accepted Answer
Walter Roberson
on 1 Feb 2018
s='PwDsymbol012345';
locations = strfind(s, 'PwDsymbol');
if isempty(locations)
disp('string did not have PwDsymbol anywhere')
else
disp('PwDsymbol found starting at locations'), locations
end
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!