instrrev/strrevfind

バージョン 1.0.0.0 (789 Bytes) 作成者: Tseviet Tchen
Find character in string from EOS (right-hand end)
ダウンロード: 1.1K
更新 2007/2/20

ライセンスがありません

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.

引用

Tseviet Tchen (2025). instrrev/strrevfind (https://www.mathworks.com/matlabcentral/fileexchange/14012-instrrev-strrevfind), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R13SP1
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCharacters and Strings についてさらに検索
謝辞

ヒントを与えたファイル: Manchester

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0