print substr( $string , index($string,'/') + 1 , index($string,'|') - index($string,'/') - 1 );