Hi Joseph, @ 10:48:03 PM on 4/9/2001, Joseph Bannon wrote: > I need to examine the last 3 characters of a string. Is there code > that does that? <?php $str = '[EMAIL PROTECTED]'; print substr($str,-3,3); ?> -Brian -- PGP is spoken here: 0xE4D0C7C8 Please do not carbon copy me on list replies. -- 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] Empting all variables Nathan Roberts
- [PHP] last three characters of a string Joseph Bannon
- Re: [PHP] last three characters of a string Brian Clark
- Re: [PHP] last three characters of a string David Robley
- Re: [PHP] last three characters of a string Jack Dempsey
- Re: [PHP] Empting all variables Christian Reiniger