The line has changing values. Can vary from 1 to 4-digit. It is necessary to make it so that initially there was a place for these numbers and the line did not skip the whole while increasing the number of digits.
Conclusion now
1 остальное значение строки 1234 остальное значение строки(строка сдвинулась) Need to
1 остальное значение строки 1234 остальное значение строки ( строка не сдвинулась) How to format a string in this way?
String.Format("{0,4} {1}", 1, "остальное значение строки")- PetSerAl