instrrev/strrevfind
Versione 1.0.0.0 (789 Byte) da
Tseviet Tchen
Find character in string from EOS (right-hand end)
1,1K download
Aggiornato
20 feb 2007
Nessuna licenza
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.
Cita come
Tseviet Tchen (2026). instrrev/strrevfind (https://it.mathworks.com/matlabcentral/fileexchange/14012-instrrev-strrevfind), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R13SP1
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Characters and Strings in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: Manchester
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
