Use "newline character" in a sentence

1. In the above code, it can be seen that the input string1 containing two newline characters (\n\n) out of which only last newline character is removed by Chomp() function and second last newline character is utilized which can be seen in the output.