1: 2: 3: 4:
int FieldLength = 20; Schnur s = „123456789“; Schnurformat = „{0, -“ + FieldLength + „}“; Console.WriteLine (String.Format (Format, s));