english/libraries/joomla/utilities/string.php
/**
	 * UTF-8 aware alternative to strpos
	 * Find position of first occurrence of a string
	 *
	 * @param   string  $str     String being examined
	 * @param   string  $search  String being searced for
	 * @param   integer $offset  Optional, specifies the position from which the search should be performed
	 *
	 * @return  mixed  Number of characters before the first match or FALSE on failure
	 *
	 * @see     http://www.php.net/strpos
	 * @since   11.1
	 */
UTF-8 aware alternative to strpos
Find position of first occurrence of a string

@param   string  $str     String being examined
@param   string  $search  String being searced for
@param   integer $offset  Optional, specifies the position from which the search should be performed

@return  mixed  Number of characters before the first match or FALSE on failure


UTF - 8 aware alternative to strpos Find position of first occurrence of a string @param string $str String being examined @param string $search String being searced for @param integer $offset Optional specifies the position from which the search should be performed @return mixed Number of characters before the first match or FALSE on failure
public static function strpos($str, $search, $offset = FALSE)
	{
		if ( $offset === FALSE ) {
			return utf8_strpos($str, $search);
		} else {
			return utf8_strpos($str, $search, $offset);
		}
	}
public static function strpos ( $ str , $ search , $ offset = FALSE ) { if ( $ offset === FALSE ) { return utf8_strpos ( $ str , $ search ) ; } else { return utf8_strpos ( $ str , $ search , $ offset ) ; } }
UTF-8 aware alternative to strpos
 Find position of first occurrence of a string
UTF - 8 aware alternative to strpos Find position of first occurrence of a string