Register Advertise with usHelp Desk Today's Posts Search

Showing results 1 to 2 of 2
Search took 0.24 seconds.
Search: Posts Made By: iamscottj
Forum: Programming 30th July 2010, 10:01 PM
Replies: 4
Views: 588
Posted By iamscottj
Re: Regular expressions question

Oops I missed that one. Sorry. Will try to be better next time. Thanks... :)
Forum: Programming 29th July 2010, 10:25 PM
Replies: 4
Views: 588
Posted By iamscottj
Re: Regular expressions question

$string1 = "Hello World\n";
if ($string1 =~ m/rld$/) {
print "$string1 is a line or string ";
print "that ends with 'rld'\n";
}

This matches whether the string ends with 'rld'... I think...
Showing results 1 to 2 of 2

 
Forum Jump


All times are GMT -6. The time now is 03:52 PM.