strtolower -> strtoupper

From: Date: Thu, 12 Sep 2002 02:21:01 +0000
Subject: strtolower -> strtoupper
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116067@lists.php.net to get a copy of this message
Hi! Again, problem to convert chars. example: $name = "mattson-hedman" # correct format is Mattson-Hedman, but user can write in many ways. $name came from db. so how I can convert this $name format "Mattson-Hedman". First name first-letter is easy, but how about second-name first-letter H. There are always char '-' before char which should be convert. gustavus

« previous php.general (#116067) next »