instrrev/strrevfind

Find character in string from EOS (right-hand end)

Ahora está siguiendo esta publicación

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.

Citar como

Tseviet Tchen (2026). instrrev/strrevfind (https://es.mathworks.com/matlabcentral/fileexchange/14012-instrrev-strrevfind), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspiración para: Manchester

Categorías

Más información sobre Characters and Strings en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0