detab: a pedestrian string detabulator
Version 1.0.0.0 (2.92 KB) by
us
replaces TAB characters with the appropriate number of SPACE characters
DETAB replaces TAB characters with the appropriate number of SPACE characters from the contents of a file or a cell array (containing strings) such that the absolute position of text entries is preserved.
This is particularly useful for populating UICONTROLs (eg, listboxes) with the contents of files or strings that contain TABs
see
> help detab
for explanations and the accompanying image for an example
Cite As
us (2026). detab: a pedestrian string detabulator (https://www.mathworks.com/matlabcentral/fileexchange/10536-detab-a-pedestrian-string-detabulator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Acknowledgements
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | removed a small typo; version tag 28-Mar-2006 16:25:00 |
