Any way to align multiple lines of text in lua using string.format()?

233 Views Asked by At

So I'm using a monospace font and in the debug window when I print multiple lines of my text string all the columns line up nicely.

But when I output that same string, using the same font inside of a 3rd party game engine all the vertical alignment is off.

I know we can't address the engine here, but are there any commands I for string.format() that I can use like 'tabs' or something to line up columns instead of 'spaces' as it's the spaces that are causing the problem in the engine.

0

There are 0 best solutions below