It appears that _G.string.format doesn’t support inserting tabs into a string using the ‘\t’ escape character. However, most lua docs claim that string.format is “just like printf” in C/C++. Here’s a quote from the Lua Reference Manual:
The format string follows the same rules as the
printffamily of standard C functions. The only differences are that the options/modifiers*,l,L,n,p, andhare not supported
So far, I’ve found this not to be true for ‘\t’. Now, I fullly acknowledge that I’ve probably missed something somewhere, so would some kind soul tell me how to insert a tab character into a string using Blizzard’s version of Lua?
Thanks,