29 April 2011
Regular expression
$result = "is somthing";
if($result =~ /something/){
print "result มีข้อความ something\n";
}
ดู regular expression เพิ่มเติม http://www.troubleshooters.com/codecorn/littperl/perlreg.htm
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment