find pattern in string in reverse order

Version 1.0.0.0 (791 Bytes) von Tseviet Tchen
search character in string from right-hand end
1,3K Downloads
Aktualisiert 20. Feb 2007

Keine Lizenz

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

Zitieren als

Tseviet Tchen (2025). 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. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2006b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0