remove (chomp) a newline,'Hello\n\n\n'.rstrip('\n')