RE: [PHP] Finding an '&'
| From: | James R. Butzen | Date: | Thu, 25 Jan 2001 03:13:30 +0000 |
| Subject: | RE: [PHP] Finding an '&' | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36534@lists.php.net to get a copy of this message | ||
try
$retrn = "AASIDFIFJ&";
-----Original Message-----
From: Karl J. Stubsjoen [mailto:karlflips@kstub.com]
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net