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
引用格式
us (2024). detab: a pedestrian string detabulator (https://www.mathworks.com/matlabcentral/fileexchange/10536-detab-a-pedestrian-string-detabulator), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2006a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB 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 | removed a small typo; version tag 28-Mar-2006 16:25:00 |