I am referring the documentation for
truncate-string-to-width from here.
(truncate-string-to-width "\tab\t" 12 4)
But what i get in my machine (emacs versioned 184.108.40.206) is one tab character with no alphabets printed. And similarly, when i do
(message "%s" (truncate-string-to-width "\tab\t" 12 4 ?\s))
my mac shows, one tab character plus six space chars. But the documentation quotes,
⇒ " ab "
truncate-string-to-width truncate the alphabets in my machine?