I am trying to add spacing to align text in between two strings vars without using " "
to do so
Trying to get the text to look like this, with the second column being aligned.
Location: 10-10-10-10 Revision: 1
District: Tower Date: May 16, 2012
User: LOD Time: 10:15
Currently have it coded like this, just using spaces...
"Location: " + Location + " Revision: " + Revision + '
'
I tried working with string.rjust
& srting.ljust
but to no avail.
Suggestions?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…