अंत नई पंक्ति सुनिश्चित
गायब होने पर अंतिम नई पंक्ति जोड़ें।
Appends \n when the text does not end with one. Unlike Strip Trailing Newlines this adds. Empty fails.
Result: hello
नई पंक्ति जोड़ी गई: 1
लंबाई: 6
इनपुट लंबाई: 5
गायब होने पर अंतिम नई पंक्ति जोड़ें।
Appends \n when the text does not end with one. Unlike Strip Trailing Newlines this adds. Empty fails.
Result: hello
नई पंक्ति जोड़ी गई: 1
लंबाई: 6
इनपुट लंबाई: 5