in reply to Re: Trim blanks from the beginning and end of a multi-line string
in thread Trim blanks from the beginning and end of a multi-line string
Update: For the folks who may not be up on the terminology... CR, Carriage Return is what \r is. LF, Line Feed is the character that Unix will write for "\n". Windows will write both for a "new line". As trivia, the convention for network transmission of lines of text (like over a socket) is the same as Windows, <CR><LF> that's true even on Unix system. Perl handles all this oddness in a very nice and magical way - basically the "right thing" happens (Do What I Meant).
|
|---|