Simple String Cleanup Utility
版本 1.0.0.0 (347 字节) 作者:
Rob Slazas
Simple utility function that cleans up stray characters and spaces from strings so they can be used
1.2K 次下载
更新时间
2008/9/12
无许可证
Simple utility function that cleans up stray characters and spaces from strings so they can be used without causing errors or changes in format.
Function call removes anything not alphabetic or numeric, including underscore:
newstr = cleanstr(instr)
* I leave this function in my path and end up calling it pretty often. Works well with strings grabbed from filenames to be used in titles or legends on plots. Can be called embedded from those formatting statements.
引用格式
Rob Slazas (2024). Simple String Cleanup Utility (https://www.mathworks.com/matlabcentral/fileexchange/21419-simple-string-cleanup-utility), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2008a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Characters and Strings 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |