thanks all for your help.  It is my understanding that chomp($var); will
only strip the \n from the end of a string.  I'm dealing with strings
that could potentially be littered with newline characters.  I have an
o'reilly perl book, but it's not super clear on how to strip *all*
newline characters out of a string, no matter where they are.  am i
right in assuming regex needed for this?

Thanks!

providing the finest in midget technology



Hello Rory,

Saturday, August 25, 2001, Rory O'Connor <[EMAIL PROTECTED]> wrote:

ROC> Another quick one - how can I easily strip line break characters from a
ROC> variable?

see
perldoc -f chomp

Best wishes,
 Maxim                            mailto:[EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to