I am writing some strings into a file and the strngs are supposed to take the same width in the output file. ( If the length of the string is not equal, spaces will be added. )
but I found that it doesn't work well. It seems that even if the strngs are of the same length, the space they take might be different.
IS there any way that I can force the strings of the equal length take equal space in the output file?