in reply to Extracting names from string
print substr( $string , index($string,'/') + 1 , index($string,'|') - index($string,'/') - 1 ); [download]