J Juniper Platinum Member Nov 7, 2001 2,025 1 0 Jan 1, 2002 #1 I want to remove blank lines (enter carriage) from a text that was inputted from a text box. How do I do that in Perl?
I want to remove blank lines (enter carriage) from a text that was inputted from a text box. How do I do that in Perl?
N notfred Lifer Feb 12, 2001 38,241 4 0 Jan 1, 2002 #2 if the text from the textbox is in a scalar called $text_string, use this: $text_string =~ s/[\n\r]//g;
if the text from the textbox is in a scalar called $text_string, use this: $text_string =~ s/[\n\r]//g;
N notfred Lifer Feb 12, 2001 38,241 4 0 Jan 1, 2002 #3 I go through all the trouble to type that, and not even a response.... sigh...
J Juniper Platinum Member Nov 7, 2001 2,025 1 0 Jan 1, 2002 #4 Hi notfred, thanks for the great help, it solved my problem I was not online for a while, some router problems...
Hi notfred, thanks for the great help, it solved my problem I was not online for a while, some router problems...