Re: What would JavaScript's CharAt() be in PHP?

From: Date: Sat, 10 Apr 2004 12:03:24 +0000
Subject: Re: What would JavaScript's CharAt() be in PHP?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11768@lists.php.net to get a copy of this message
Hi! Stefan Neufeind wrote:
What would JavaScript's CharAt() be in PHP?
$a = "Hello";
echo $a[1];    => e
I think this is deprecated. echo $a{1};

« previous php.pear.general (#11768) next »