instrrev/strrevfind

Version 1.0.0.0 (789 octets) par Tseviet Tchen
Find character in string from EOS (right-hand end)
1,1K téléchargements
Mise à jour 20 fév. 2007

Aucune licence

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.

Citation pour cette source

Tseviet Tchen (2026). instrrev/strrevfind (https://fr.mathworks.com/matlabcentral/fileexchange/14012-instrrev-strrevfind), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R13SP1
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Characters and Strings dans Help Center et MATLAB Answers
Remerciements

A inspiré : Manchester

Version Publié le Notes de version
1.0.0.0