note 32648 deleted from function.strcmp by pollita

From: Date: Tue, 03 Jun 2003 19:49:25 +0000
Subject: note 32648 deleted from function.strcmp by pollita
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49652@lists.php.net to get a copy of this message
Note Submitter: coleki ---- What is the command to get 1 character out of a string? i.e., i want to check the 4th digit of a number (in string form) against a list of possibilities. $MyString = "2033" $LastDigit = ? if ($LastDigit == "3") { ... }

« previous php.notes (#49652) next »