Re: Strings with extended characters

2004-04-02 Thread John W. Krahn
[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 string

Strings with extended characters

2004-04-01 Thread Jimstone77
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.

Re: Strings with extended characters

2004-04-01 Thread Daniel Staal
--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

RE: Strings with extended characters

2004-04-01 Thread Jayakumar Rajagopal
with extended characters 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. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Strings with extended characters

2004-04-01 Thread JupiterHost.Net
[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