[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Special Mac return key?



Hi there!

I don't know if this is the right place to ask questions. If not, could
you please point me to the right place!

I am trying to eliminate a mac "return" key from a text area field on a
HTML form.
I process the data in a perl script using all of the following:
  
	$value =~ s/\cM\n/ /g;
    $value =~ s/\s/ /g;
    $value =~ s/\n\n/ /g;
    $value =~ s/%13/ /g;

but none replaces the two new line characters which seem to be generated
by the mac return key.

Do you know how to remove a mac carriage return character?

Sincerely Hoping You can Help
Regards
Greg Reeves
aussie@gregreeves.com

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch