Getting part of a string

From: Date: Fri, 27 Sep 2002 15:23:09 +0000
Subject: Getting part of a string
Groups: php.general 
Request: Send a blank email to php-general+get-117858@lists.php.net to get a copy of this message
I've got a situation where I need to pull a string from a variable but I can't seem to get it figured out. I.e. value of $a = /realtor/Remax/Ed/files/ I need to get the string between the second and third / (slash) What I need: Remax Thanks, Ed

« previous php.general (#117858) next »