Andrew Tait wrote:
> Hi All,

Hello,

> Quick question. How can I check if the last two characters of a string are
> both new line's (i,e, \n)
> 
> This is what I have come up with so far:
> 
> if ($radentry =~ /"*\n\n/")

if ( substr( $radentry, -2 ) eq "\n\n" )


John
-- 
use Perl;
program
fulfillment


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to