original_string: function utf8_strrpos($haystack, $needle) {
  		if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_utils'] == 'mbstring') {
  			return mb_strrpos($haystack, $needle, 'utf-8');
  		} elseif ($GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_utils'] == 'iconv') {
  			return iconv_strrpos($haystack, $needle, 'utf-8');
  		}
  
  		$byte_pos = strrpos($haystack, $needle);
  		if ($byte_pos === FALSE) {
  			return FALSE;
  		} // needle not found
  
  		return $this->utf8_byte2char_pos($haystack, $byte_pos);
  	}
code: function utf8_strrpos($haystack, $needle) {
  		if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_utils'] == 'mbstring') {
  			return mb_strrpos($haystack, $needle, 'utf-8');
  		} elseif ($GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_utils'] == 'iconv') {
  			return iconv_strrpos($haystack, $needle, 'utf-8');
  		}
  
  		$byte_pos = strrpos($haystack, $needle);
  		if ($byte_pos === FALSE) {
  			return FALSE;
  		} // needle not found
  
  		return $this->utf8_byte2char_pos($haystack, $byte_pos);
  	}
code_tokens: function utf8_strrpos ( $ haystack , $ needle ) { if ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'SYS' ] [ 't3lib_cs_utils' ] == 'mbstring' ) { return mb_strrpos ( $ haystack , $ needle , 'utf-8' ) ; } elseif ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'SYS' ] [ 't3lib_cs_utils' ] == 'iconv' ) { return iconv_strrpos ( $ haystack , $ needle , 'utf-8' ) ; } $ byte_pos = strrpos ( $ haystack , $ needle ) ; if ( $ byte_pos === FALSE ) { return FALSE ; } // needle not found return $ this -> utf8_byte2char_pos ( $ haystack , $ byte_pos ) ; }
docstring: Find position of last occurrence of a char in a string, both arguments are in UTF-8.
  
  @param	string		UTF-8 string to search in
  @param	string		UTF-8 character to search for (single character)
  @return	integer		The character position
  @see strrpos()
  @author	Martin Kutschker <martin.t.kutschker@blackbox.net>
docstring_tokens: Find position of last occurrence of a char in a string both arguments are in UTF - 8 .