[EMAIL PROTECTED] wrote:
>
> Is there a simple way to reject any string that has extended characters in
> it? In other words, only accept the 88 (I think it's 88) regular keyboard
> characters and numbers. I can't find a simple way to do this.
if ( $string =~ /[^[:print:]]/ ) {
print "This st
[EMAIL PROTECTED] wrote:
Is there a simple way to reject any string that has extended characters in
it? In other words, only accept the 88 (I think it's 88) regular keyboard
characters and numbers. I can't find a simple way to do this.
Does this help?
if($string !~ m/^\w+$/) { die "I hate ex
Jim
Please send two sample strings one that contains 'reject'able stuff, and other with
those 88. That would clarify us better.
Jay
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 9:58 AM
To: [EMAIL PROTECTED]
Subject: Strings with extend
--As of Thursday, April 1, 2004 9:58 AM -0500, [EMAIL PROTECTED] is
alleged to have said:
Is there a simple way to reject any string that has extended characters
in it? In other words, only accept the 88 (I think it's 88) regular
keyboard characters and numbers. I can't find a simple way to do