View License

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

» Watch video

Highlights from
Swap Spaces

5.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 1.53 KB File ID: #32056 Version: 1.1

Swap Spaces



04 Jul 2011 (Updated )

replaces spaces with underscores and vice versa

| Watch this File

File Information

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

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
08 Sep 2011 Michael Goldstein

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

05 Jul 2011 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.

Comment only
06 Jul 2011 1.1

Addtitional option to decide if spaces or underscores are replaced

Contact us