instrrev/strrevfind
版本 1.0.0.0 (789 字节) 作者:
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 (2024). instrrev/strrevfind (https://www.mathworks.com/matlabcentral/fileexchange/14012-instrrev-strrevfind), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R13SP1
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Characters 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 |