How can I change my code from WriteFixedDelimitedMultipleFields to WriteFixedNoDelimiterMultipleFields?
<p>How can I change my code from <code>WriteFixedDelimitedMultipleFields</code> to <code>WriteFixedNoDelimiterMultipleFields</code>?</p>

<p>Whats the difference if the code has a delimiter or not?
Please explain.</p>

<p>Here my code is writing into a file etc. I looked all over the internet for some answers but nothing relevant comes up. :-/</p>

<pre><code> void WriteFixedDelimitedMultipleFields()

{
    try
    {
        FileWriter WriteStream = new FileWriter ("C:\\fileclass.txt",true);
        PrintWriter WRITE      = new PrintWriter(WriteStream                                           );
        Scanner Read           = new Scanner(System.in                                                 );
        int NumberOfInputs,k                                                                            ;
        String Buffer, FirstName, LastName, MiddleInitial, StudentSerivesNumber                         ;
        char CarriageReturn, LineFeed                                                                   ;
        CarriageReturn     = 13                                                                         ;
        LineFeed           = 10                                                                         ;


        System.out.print("\n\t How many inputs: "                                                      );
        NumberOfInputs = Read.nextInt(                                                                 );




        for (k=0; k &lt; NumberOfInputs; k++)
        {
            System.out.print("\t\tFirst Name  : ")                            ;
            FirstName  =  Read.next()                                         ;
            FirstName += "               "                                    ;
            FirstName  = FirstName.substring(0,15)                            ;
            Buffer     = FirstName                                            ;

            System.out.print("\t\tMiddle Initial  : " )                       ;
            MiddleInitial   =  Read.next()                                    ;
            MiddleInitial  += "  "                                            ;
            MiddleInitial   = MiddleInitial.substring(0,2)                    ;
            Buffer         += MiddleInitial                                   ;

            System.out.print("\t\tLast Name  : ")                             ;
            LastName  =  Read.next()                                          ;
            LastName += "                    "                                ;
            LastName  = LastName.substring(0,20)                              ;
            Buffer   += LastName                                              ;

            System.out.print("\t\t Student Serives Number     : " )           ;
            StudentSerivesNumber    =  Read.next()                            ;
            StudentSerivesNumber   += "            "                          ;
            StudentSerivesNumber    = StudentSerivesNumber.substring(0,12)    ;
            Buffer                 +=  StudentSerivesNumber                   ;

            Buffer = Buffer + CarriageReturn + LineFeed                       ;
            WRITE.print(Buffer)                                               ;

        }

    WRITE.close();
    }

    catch (IOException WhatIsTheMatter)
    {
        System.out.println("I/O Problem :" + WhatIsTheMatter.getMessage() );
    }
</code></pre>
