Thread Prüfen, ob Zahl oder Prozentzahl (13 answers)
Opened by stb2050 at 2004-01-17 18:03

[E|B]
 2004-01-17 20:00
#79237 #79237
User since
2003-08-08
2561 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Code: (dl )
1
2
3
if($string !~ /^\d{1,4}\%$|^\d+$|^\*$/){
print "Ungueltig!";
}
Gruß, Erik!

s))91\&\/\^z->sub{}\(\@new\)=>69\&\/\^z->sub{}\(\@new\)=>124\&\/\^z->sub{}\(\@new\)=>);
$_.=qq~66\&\/\^z->sub{}\(\@new\)=>93~;for(@_=split(/\&\/\^z->sub{}\(\@new\)=>/)){print chr;}

It's not a bug, it's a feature! - [CGI-World.de]

View full thread Prüfen, ob Zahl oder Prozentzahl