File Exchange

image thumbnail

Swap Spaces

version 1.1 (1.53 KB) by

replaces spaces with underscores and vice versa



View License

replaces spaces with underscores or underscores with spaces; useful for desciptions/titles and file names

Comments and Ratings (2)

Very helpful for basic adjustments to file- and title-names. Thank you!

Jan Simon

Jan Simon (view profile)

It would be more useful, if the user can decide if the spaces are converted to underscores or the other way around. E.g. if I want a filename without spaces, a swapping does not create the wanted result in 50% of the cases.
STRREP is faster than REGEXPREP.



Addtitional option to decide if spaces or underscores are replaced

MATLAB Release
MATLAB 7.6 (R2008a)
Tags Add Tags

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today