You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
From the string end (ie right-hand-side) finds position of the kth character matching the specified pattern.
Syntax: INSTRREV (string, pattern, [right_match_count])
Returns:
- matching position if found match
- 0 otherwise
Returns first matching position if no right_match_count specified.
NB: function name inspired from VBS. Could be renamed "strrevfind.m" to fit Matlab nomenclature. Let me know what you think.
Cite As
Tseviet Tchen (2026). instrrev/strrevfind (https://uk.mathworks.com/matlabcentral/fileexchange/14012-instrrev-strrevfind), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Manchester
General Information
- Version 1.0.0.0 (789 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
