You are here

public function Intl::strpos in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/StringWrapper/Intl.php \Zend\Stdlib\StringWrapper\Intl::strpos()

Find the position of the first occurrence of a substring in a string

Parameters

string $haystack:

string $needle:

int $offset:

Return value

int|false

Overrides StringWrapperInterface::strpos

File

vendor/zendframework/zend-stdlib/src/StringWrapper/Intl.php, line 84

Class

Intl

Namespace

Zend\Stdlib\StringWrapper

Code

public function strpos($haystack, $needle, $offset = 0) {
  return grapheme_strpos($haystack, $needle, $offset);
}