find pattern in string in reverse order
Version 1.0.0.0 (791 Bytes) by
Tseviet Tchen
search character in string from right-hand end
1.3K Downloads
Updated
20 Feb 2007
No License
Find position within string of specified pattern from the right-hand end (EOS). Use for eg file directory string manipulation.
Syntax: INSTRREV (string, pattern, [right_match_count])
Returns: - matching position if found
- 0 otherwise
Cite As
Tseviet Tchen (2024). find pattern in string in reverse order (https://www.mathworks.com/matlabcentral/fileexchange/14013-find-pattern-in-string-in-reverse-order), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |