try

$retrn = "AASIDFIFJ&";


-----Original Message-----
From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 4:17 PM
To: PHP Mailing List
Subject: [PHP] Finding an '&'


Should this correctly find '&' or is & and special searching character?

# looking for an & at the end
$retrn = AASIDFIFJ&

if($str{strlen($retrn)-1}=='&')

Thanks!


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to