Fastest way to find out if a string contains a certain character?

From: Date: Tue, 27 Jul 2010 07:30:21 +0000
Subject: Fastest way to find out if a string contains a certain character?
Groups: php.general 
Request: Send a blank email to php-general+get-307146@lists.php.net to get a copy of this message
I know there are a number of possible ways of doing this, but I was just wondering if there is an accepted way of doing so which is better than others, performance wise. An idiom, if you like.

« previous php.general (#307146) next »