std-detab | ![]() |
(std-detab <str> <n>)
(std-detab8 <str>) ; = (std-detab <str> 8)
std-detab expands any tabulators in a string to multiple spaces. The number n (mostly used with 8) gives the multiplicator at which positions the tabs jump to, based on 1.
n=8: => (1 9 17 ...)
Mostly used is probably detab8 which is defined as (defun detab8 (s) (std-detab s 8))
It is the complement to std-entab.
(std-detab "\ttest" 8) => " test"
str: a string.
n: a positive integer number >0.
A string.
None.
(std-require 'STDSTR)
Defined in STDSTR