Improve string

Removed also blanks at the ends of lines