Simple String Cleanup Utility

버전 1.0.0.0 (347 Bytes) 작성자: 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 CenterMATLAB 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