Re: first letter

From: Date: Mon, 20 Dec 2004 19:05:09 +0000
Subject: Re: first letter
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-204746@lists.php.net to get a copy of this message
Ahmed Abdel-Aliem wrote:
hi if i have for example this variable $name = "John"; how can i echo the first letter only so the result on the browser will be "J" can anyone help ?
$name[0] -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#204746) next »