not4google
Programmer
Hi all,
I am trying to match the following:
$text = "abcdef-TO";
if($text =~ /-TO/){
#do something here
}
This doesnt seem to work, something to do with the "-" as in "-TO"?
I have tried escaping it but no joy, any help much appreciated,
Cheers,
I am trying to match the following:
$text = "abcdef-TO";
if($text =~ /-TO/){
#do something here
}
This doesnt seem to work, something to do with the "-" as in "-TO"?
I have tried escaping it but no joy, any help much appreciated,
Cheers,