Search
8:35:28
mi6x3m
hey, what is the proper way to escape a tab in a string
8:35:35
mi6x3m
"\tfoo" doesn't seem to work
8:36:27
jackdaniel
in a string you may only quote \"
8:36:53
jackdaniel
if you want to embed other objects in a string, you may do (format nil "~cfoo" #\tab) or use a library cl-interpol
8:36:56
mi6x3m
ok, for the rest i go through format or something else
8:36:57
jackdaniel
(surely there are more ways)
8:37:06
mi6x3m
got it jackdaniel, thx :)
8:38:16
splittist
jackdaniel: such as https://github.com/splittist/printfcl (mi6x3m: don't use this (: )
8:43:44
beach
You can also just put the TAB in the string.
8:44:39
mi6x3m
that's the most practical advice i heard all year actually
8:44:48
mi6x3m
sometimes we get lost in our ways
8:44:50
pony
there's also this if it's what you're looking for: (format t "~8t~a~%" 1999)