Simple String Cleanup Utility
Sin licencia
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.
Citar como
Rob Slazas (2024). Simple String Cleanup Utility (https://www.mathworks.com/matlabcentral/fileexchange/21419-simple-string-cleanup-utility), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |